Package Details: python-torchvision 0.3.0-2

Git Clone URL: https://aur.archlinux.org/python-torchvision.git (read-only)
Package Base: python-torchvision
Description: Datasets, transforms, and models specific to computer vision
Upstream URL: https://github.com/pytorch/vision
Licenses: BSD
Submitter: flacks
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 11
Popularity: 0.512594
First Submitted: 2018-01-31 10:46
Last Updated: 2019-06-12 19:09

Latest Comments

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 (https://github.com/pytorch/vision/commits/v0.2.2_branch). 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/smoke_test.py ________________________
ImportError while importing test module '/tmp/yay/python-torchvision/src/vision-0.2.2/test/smoke_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test/smoke_test.py:2: in <module>
    import torchvision
torchvision/__init__.py:2: in <module>
    from torchvision import datasets
torchvision/datasets/__init__.py:4: in <module>
    from .cifar import CIFAR10, CIFAR100
torchvision/datasets/cifar.py:13: in <module>
    from .utils import download_url, check_integrity
torchvision/datasets/utils.py:5: 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/test_transforms.py::Tester::test_adjust_saturation PASSED [ 36%] test/test_transforms.py::Tester::test_adjusts_L_mode PASSED [ 39%] test/test_transforms.py::Tester::test_affine

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/__init__.py", line 2, in <module>
    from torchvision import datasets
  File "/usr/lib/python3.7/site-packages/torchvision/datasets/__init__.py", line 1, in <module>
    from .lsun import LSUN, LSUNClass
  File "/usr/lib/python3.7/site-packages/torchvision/datasets/lsun.py", line 2, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'
>>>