- 21 Feb, 2019 1 commit
-
-
Tongzhou Wang authored
-
- 18 Feb, 2019 2 commits
-
-
surgan12 authored
* randomresizedmods * lint checks * test to randomrescrop added * updates * tests updated * tests updated * upd * updates * Update torchvision/transforms/transforms.py Co-Authored-By:surgan12 <33121121+surgan12@users.noreply.github.com> * tests changed * trvis * travis * fixes syntax * ... * flake fixes * flake_fixes * flake_fixes2
-
surgan12 authored
* flake_fixes * flake_fixes2
-
- 14 Feb, 2019 4 commits
-
-
ekka authored
* Modifying the comments of inceptionV3 dimensions Modifying the comments of inceptionV3 dimensions to match the pytorch convention. Relevant (https://github.com/pytorch/vision/pull/719#pullrequestreview-203194302) * Added Batch size in comment * Update inception.py
-
ekka authored
* Updated inceptionV3 to accept different sized images (Adaptive avg pool) The update allows inceptionV3 to process images larger or smaller than prescribed image size (299x299) using adaptive average pooling. Will be useful while finetuning or testing on different resolution images. * Update inception.py
-
ekka authored
The update allows VGG to process images larger or smaller than prescribed imagenet size using adaptive average pooling. Will be useful while finetuning or testing on different resolution images. Similar to https://github.com/pytorch/vision/pull/643 and https://github.com/pytorch/vision/pull/672. I did not include adaptive avg pool in features or classifier block so that these predefined blocks can be used as it is.
-
ekka authored
The update allows Alexnet to process images larger or smaller than prescribed imagenet size using adaptive average pooling. Will be useful while finetuning or testing on different resolution images. Similar to https://github.com/pytorch/vision/pull/643 and https://github.com/pytorch/vision/pull/672. I did not include adaptive avg pool in features or classifier block so that these predefined blocks can be used as it is.
-
- 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 1 commit
-
-
Erik Gaasedelen authored
* use predefined function * cleanup resnet * fix stride * revert inplanes since it isnt constant * lint
-