- 13 Feb, 2019 4 commits
-
-
Francisco Massa authored
The tests were previously taking 2 minutes, not they take 4 seconds
-
Francisco Massa authored
-
Alex Alemi authored
* Update URL for EMNIST Update the dataset and download URL for EMNIST to the url from the updated arxiv version. * Update mnist.py
-
Jonas authored
* Added size information for inception v3 Since inception v3 expects in contrast to the other models a size of 299x299x3 I added a small note in the docstring to point that out (addresses #560) * inception size info in note box; fixed line length * removed trailing whitespace
-
- 12 Feb, 2019 2 commits
-
-
Michael Kösel authored
-
Michael Kösel authored
-
- 11 Feb, 2019 1 commit
-
-
Raphaël Courivaud authored
-
- 25 Jan, 2019 1 commit
-
-
lhenault authored
-
- 08 Jan, 2019 3 commits
-
-
Will Price authored
Test installed version of package To test against the installed version of the package (which is preferably since this can catch installation file inclusion bugs) we have to deal with quirks of coverage.py. By default the ecosystem is set up to do development coverage tests (e.g. in src, or by using `pip install -e .` or `python setup.py develop`). We want to test against the version installed, to do this we have to find the install path which we'll then pass to the `--cov` arg added by `pytest-cov`. To do this, we have to cd out of the current folder, and import the installed version and get it's install path (if we don't cd out, then we end up getting the existing directory in the cwd since by default cwd is on `sys.path`) Once we have the install path, we pass that to the `--cov` of pytest, however we also want to rewrite the paths for codecov to pick them up on the website, if they don't have to code coverage with local paths, they don't register is properly. In order to that, we have a .coveragerc file that has the contents: ``` [paths] source = torchvision /**/site-packages/torchvision ``` This tells codecov to treat all paths with those prefixes as the same, so anything like `/home/travis/miniconda/envs/test-environment/lib/python2.7/site-packages/torchvision/models/__init__.py` would be treated the same as `torchvision/models/__init__.py` after running the coverage combination command. The first path seems to be special, in that all subsequent paths are rewritten to that one. Once we collect coverage, we then run `coverage run` to rewrite the installation paths in the coverage file, `.coverage`, to those expected by codecov. Phew. And that's it. N.B: Whilst adding test/__init__.py does solve the issue, it also results in PWD being added to the path, and then we'll test the development version of the package, and not the installed version (see https://docs.pytest.org/en/latest/goodpractices.html#tests-as-part-of-application-code) -
surgan12 authored
* doc change * doc changes * lint_checks * Update transforms.py
-
Will Price authored
-
- 30 Dec, 2018 1 commit
-
-
surgan12 authored
* normalise * some changes * Update functional.py * Update functional.py * code changes
-
- 25 Dec, 2018 2 commits
-
-
Michael Kösel authored
-
hysts authored
* Add KMNIST * Add documentation * Add KMNIST to module's __all__ list
-
- 21 Dec, 2018 1 commit
-
-
Michael Kösel authored
* Add Cityscapes Dataset * Rename 'label' to 'semantic' to make the meaning more clear * Add support for gtCoarse target set
-
- 20 Dec, 2018 1 commit
-
-
surgan12 authored
-
- 18 Dec, 2018 1 commit
-
-
surgan12 authored
* docs added * Update transforms.py * Update transforms.py
-
- 17 Dec, 2018 1 commit
-
-
surgan12 authored
* modes added * tests_added * Update test_transforms.py * Update test_transforms.py * Update test_transforms.py
-
- 14 Dec, 2018 1 commit
-
-
surgan12 authored
* bug fixes to_tensor * tensor checked
-
- 13 Dec, 2018 3 commits
-
-
surgan12 authored
* pad updated * checked pad * pad checked * pad checked * docs changed
-
surgan12 authored
* pad updated * checked pad * pad checked * pad checked
-
Dan Hendrycks authored
-
- 11 Dec, 2018 1 commit
-
-
任广辉 authored
-
- 06 Dec, 2018 3 commits
-
-
Benjamin Pinaya authored
* VOC Dataset, linted, flak8 passing, samples on gist. * Double backtick on values. * Apply suggestions from code review Add suggestions from @ellisbrown, using dict of dicts instead of array index. Co-Authored-By:bpinaya <bpg_92@hotmail.com> * Fixed errors with the new comments. * Added documentation on RST * Removed getBB, added parse_voc_xml, variable naming change. * Removed unused variable, removed VOC_CLASSES, two new gists for test.
-
Yuxin Wu authored
* Zero-init the residual branch in resnet * Add zero_init_residual as an option
-
Will Frey authored
* Add scipy as a dependency to setup.py `scipy` is imported in both the `torchvision.datasets.svhn` module and the `torchvision.models.inception` module. * Update setup.py Make scipy optional. It can be installed with `pip install torchvision[scipy]`.
-
- 04 Dec, 2018 3 commits
-
-
Varun Agrawal authored
* added separate checks for dimensionality in to_pil_image and added tests * updated to_pil_image to use both 2D ndarrays and tensors, as well as refactored the tests
-
Adam J. Stewart authored
* Add Flickr8k and Flickr30k Datasets * Add Flickr to the dataset docs * Sort ids, glob during construction * annFile -> ann_file * Fix undefined variable name bug
-
Adam J. Stewart authored
* Add SBU Captioned Photo Dataset * Add SBU to the dataset docs
-
- 27 Nov, 2018 1 commit
-
-
kwu authored
* Changing to AdaptiveAvgPool2d * add whitespace
-
- 12 Nov, 2018 2 commits
-
-
Amir Arsalan Soltani authored
* Update densenet.py * Update densenet.py
-
Amir Arsalan Soltani authored
-
- 06 Nov, 2018 2 commits
-
-
Erik Gaasedelen authored
* use predefined function * cleanup resnet * fix stride * revert inplanes since it isnt constant * lint
-
Adán Mora-Fallas authored
* AdaptiveAvgpool2d integrated The Average Pool Layer on SqueezeNet and ResNet was hardcoded, this was changed, now any the input size is accepted. * error fixed * linting fixed
-
- 02 Nov, 2018 1 commit
-
-
CUI Hao authored
-
- 30 Oct, 2018 1 commit
-
-
Francisco Massa authored
* Revert "move area calculation out of loop (#641)" This reverts commit 62cbf0bf. * Revert "Fix FashionMNIST loading MNIST (#640)" This reverts commit 36215690.
-
- 26 Oct, 2018 3 commits
-
-
Erik Gaasedelen authored
* move area calculation out of loop No need to calculate area 10 times when it doesn't change. * lint
-
Leon Sixt authored
Before this would lead FashionMNIST to contain mnist data: ``` MNIST(root, download=True) FashionMNIST(root, download=True) ``` As MNIST and FashionMNIST are the same classes, the processed outputs actual ended up to be the same files. This commit now stores them at different files and also stores the class name when saving them. I also added md5 sums.
-
Ailing authored
* init hub.py * rename hub.py -> hub_info.py * torchvision_hub->torchvision; use alexnet as example since it's smaller * alexnet -> resnet18 * update repo example structure * address comment * add readme as comment * address comment * fix lint
-
- 25 Oct, 2018 1 commit
-
-
Bowen Bao authored
* Fix inception v3 input transform for trace & onnx * Input transform are in-place updates, which produce issues for tracing and exporting to onnx. * nit
-