- 06 Apr, 2017 1 commit
-
-
Huan Yang authored
* Fixed border missing on bottom and right side using make_grid * Add support for Transforms.Scale([h, w]) with specific height and width if self.size is a int then scale the image with the shorter side, otherwise if self.size is a list then scale the image to self.size directly * Add assert of size and doc for README Add assert of size and doc for README * Fix linter problem Fix linter problem * Add test for Scale Add test for Scale * Add both tuple and list support for Scale.size Add both tuple and list support for Scale.size * Add order of Scale.size in document and test case for list type of Scale.size Add order of Scale.size in document and test case for list type of Scale.size
-
- 23 Mar, 2017 4 commits
-
-
Bodo Kaiser authored
-
Bodo Kaiser authored
-
Bodo Kaiser authored
-
Bodo Kaiser authored
-
- 11 Mar, 2017 1 commit
-
-
Alykhan Tejani authored
* fix for to_tensor when input is np.ndarray of shape [H,W,C]. Issue #48 pytorch/vision * update cifar datasets to transpose images from CHW -> HWC * fix flake8 issue on test_transforms.py
-
- 27 Feb, 2017 2 commits
-
-
Luke Yeager authored
-
Luke Yeager authored
git ls-files | grep '\.py$' | xargs -n1 -P`nproc` autopep8 -i
-
- 25 Feb, 2017 1 commit
-
-
Hang Su authored
Previous assertion only allows numbers for `fill`, which rules out the possibility to pad multi-channel colors. For example, now fill=(255,255,255) or fill="white" can be used to achieve white padding for rgb inputs.
-
- 24 Feb, 2017 1 commit
-
-
Tzu-Wei Huang authored
YCbCr breaks the code without warning. Changed the code to make `ToTensor()` cope with all PIL image types.
-
- 16 Feb, 2017 1 commit
-
-
Alykhan Tejani authored
-
- 19 Jan, 2017 1 commit
-
-
Adam Paszke authored
-
- 03 Jan, 2017 1 commit
-
-
Adam Paszke authored
-
- 29 Dec, 2016 1 commit
-
-
Francisco Massa authored
-
- 27 Nov, 2016 2 commits
-
-
Soumith Chintala authored
-
Soumith Chintala authored
-
- 16 Nov, 2016 2 commits
-
-
Soumith Chintala authored
-
Soumith Chintala authored
-
- 12 Nov, 2016 1 commit
-
-
Soumith Chintala authored
-
- 10 Nov, 2016 1 commit
-
-
soumith authored
-