Package Base Details: python-torchvision

Git Clone URL: (read-only, click to copy)
Submitter: flacks
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 17
Popularity: 0.124979
First Submitted: 2018-01-31 10:46
Last Updated: 2020-12-02 13:14

Pinned Comments

hottea commented on 2020-05-02 09:00

You could install python-torchvision or python-torchvision-cuda from ArchLinux CN repo. I have no plan to provide two PKGBUILD for pytorch-torchvision and python-torchvision-cuda. However, pull request is welcome.

Latest Comments

« First ‹ Previous 1 2 3 4 5

jaantoots commented on 2019-03-02 13:24

Had a look at the differences between the latest and what I got yesterday, and it looks like upstream just decided to change where the version tag points and include 2 new commits into an already existing release ( This would explain the 3 different versions of supposedly the same "version" of the package.

I am honestly quite baffled by this but I guess I should just be glad to have those bugfixes...

hottea commented on 2019-03-02 12:35

@jaantoots I redownload the source tarball, but the sha512sum is: 2831391b71257ae4daacd4e7d3f933a910fad548df8df1a70d2358947244de59a70ceb76c544ed3eb1bd07b9e170640234f49b4743d9bb9da0e2b33861c36849

jaantoots commented on 2019-03-01 12:23

sha512sums do not match: cdb1a144979d069eaf548770328436494663fd92fddbd5e2876a1fddd11c6ef805cc3f434a150052f52cd25529e93f9702dce02a394ced7928dd887e0f745ef2 torchvision-0.2.2.tar.gz whereas 36a6bbe133f70a319972bb1798a8f873d53440cc94fc7dc2a7cc2eff67d11bf4de90564c6f3c9f751a1b15fb1fefa2235c95aaf0040984f3c8f5bb8bcd069f57 in the PKGBUILD.

rharish commented on 2019-02-28 14:27

Please add python-tqdm as a dependency

_______________________ ERROR collecting test/ ________________________
ImportError while importing test module '/tmp/yay/python-torchvision/src/vision-0.2.2/test/'.
Hint: make sure your test modules/packages have valid Python names.
test/ in <module>
    import torchvision
torchvision/ in <module>
    from torchvision import datasets
torchvision/datasets/ in <module>
    from .cifar import CIFAR10, CIFAR100
torchvision/datasets/ in <module>
    from .utils import download_url, check_integrity
torchvision/datasets/ in <module>
    from tqdm import tqdm
E   ModuleNotFoundError: No module named 'tqdm'

yan12125 commented on 2019-02-27 17:13

Your package python-torchvision [1] has been flagged out-of-date by hottea [2]:

0.2.2 just released one day ago.

@hottea Thank you very much for the flag, but I regret to say that my tasks are irrelevant with computer vision now and I'm going to disown this package. As usual, feel free to adopt this package!

yan12125 commented on 2018-12-15 08:13

Yep, and as a reference, it takes me more than 4 minutes to run that test.

mraggi commented on 2018-12-15 05:31

Edit: Sorry, Ignore this!

tests hang on test_affine: test/ PASSED [ 36%] test/ PASSED [ 39%] test/

EDIT: Sorry, apparently it just takes a while.

Not deleting this post because someone else might run into this.

yan12125 commented on 2018-11-27 15:24

kartikmohta: adopted and fixed!

kartikmohta commented on 2018-10-08 03:07

This seems to need a dependency on python-pillow:

$ python
Python 3.7.0 (default, Sep 15 2018, 19:13:07) 
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchvision
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/site-packages/torchvision/", line 2, in <module>
    from torchvision import datasets
  File "/usr/lib/python3.7/site-packages/torchvision/datasets/", line 1, in <module>
    from .lsun import LSUN, LSUNClass
  File "/usr/lib/python3.7/site-packages/torchvision/datasets/", line 2, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'