- 09 Apr, 2019 1 commit
-
-
ekka authored
* Update test_transforms.py * Update transforms.py
-
- 08 Apr, 2019 1 commit
-
-
Ashok M authored
-
- 26 Mar, 2019 1 commit
-
-
ekka authored
* Add test for loading pretrained models The update modifies the test to check whether the model can successfully load the pretrained weights. Will raise an error if the model parameters are incorrectly defined or named. * Add test on 'num_class' Passing num_class equal to a number other than 1000 helps in making the test more enforcing in nature.
-
- 25 Mar, 2019 2 commits
-
-
Francisco Massa authored
* Add basic model testing. Also fixes flaky test * Fix flake8
-
ekka authored
* Add Affinetransformation Add Affinetransformation to superseed LinearTransformation * Add test * Add zero mean_vector in LinearTransformation and improved docs * update * minor fix * minor fix2 * fixed flake8 * fix flake8 * fixed transpose syntax * fixed shape of mean_vector in test * fixed test * print est cov and mean * fixed flake8 * debug * reduce num_samples * debug * fixed num_features * fixed rtol for cov * fix __repr__ * Update transforms.py * Update test_transforms.py * Update transforms.py * fix flake8 * Update transforms.py * Update transforms.py * Update transforms.py * Update transforms.py * Changed dim of mean_vector to 1D, doc and removed .numpy () from format_string * Restore test_linear_transformation() * Update test_transforms.py
-
- 01 Mar, 2019 1 commit
-
-
Francisco Massa authored
* Fixes for PyTorch version of tqdm * Flake * Flake fix
-
- 28 Feb, 2019 1 commit
-
-
Francisco Massa authored
-
- 18 Feb, 2019 1 commit
-
-
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
-
- 13 Feb, 2019 1 commit
-
-
Francisco Massa authored
The tests were previously taking 2 minutes, not they take 4 seconds
-
- 17 Dec, 2018 1 commit
-
-
surgan12 authored
* modes added * tests_added * Update test_transforms.py * Update test_transforms.py * Update test_transforms.py
-
- 04 Dec, 2018 1 commit
-
-
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
-
- 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 1 commit
-
-
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.
-
- 25 Oct, 2018 1 commit
-
-
Kyryl Truskovskyi authored
* cast mnist targer to int * fix unused variables * fix syntax in tests * remove # noqa; rename l variable to line_split; use except OSError * add W504 * add W504 * add W503,W504 tox.ini
-
- 29 Aug, 2018 1 commit
-
-
Vishwak Srinivasan authored
-
- 25 Aug, 2018 1 commit
-
-
Soumith Chintala authored
-
- 28 May, 2018 1 commit
-
-
Holger Kohr authored
-
- 15 May, 2018 1 commit
-
-
vfdev authored
Improve `test_pad_with_non_constant_padding_modes` to avoid data multiplication in `transforms.ToPILImage()` on float data: ```python img = torch.zeros(3, 27, 27) # Float32 img[:, :, 0] = 1 # we add 1 and not 255 img = transforms.ToPILImage()(img) # This converts 1 to 255 due to [pic = pic.mul(255).byte()](https://github.com/pytorch/vision/blob/master/torchvision/transforms/functional.py#L107) ``` and thus test's correct values are [..., 200, 1, 0]
-
- 04 May, 2018 1 commit
-
-
vfdev authored
Remove test with variables
-
- 16 Apr, 2018 1 commit
-
-
arturml authored
* Add case in test_to_tensor for PIL Images mode '1' * Add support in ToTensor for PIL Images mode '1' * Fix pep8 issues
-
- 06 Apr, 2018 1 commit
-
-
anguelos authored
* Made transorms.RandomCrop tolerate images smaller than the given size. * Extended the tescase for transforms.RandomCrop * Made the testcase test for owidth=width+1 * Fixed the one pixel pading and the testcase * Fixed minor lintint errors. flake8 passes.
-
- 04 Apr, 2018 1 commit
-
-
Utku Ozbulak authored
* Added reflect, symmetric and edge padding * Updated padding docs, added tests
-
- 10 Mar, 2018 1 commit
-
-
Frédérik Paradis authored
* Adding tests to ImageFolder * Adding DatasetFolder class * Fix tests for pytest and code for lint checker * Adding mock to requirements for ImageFolder tests * Remove mocks from requirements
-
- 09 Mar, 2018 2 commits
-
-
Soumith Chintala authored
This reverts commit ab03dc43.
-
Frédérik Paradis authored
* Adding tests to ImageFolder * Adding DatasetFolder class * Fix tests for pytest and code for lint checker * Adding mock to requirements for ImageFolder tests
-
- 20 Feb, 2018 1 commit
-
-
vfdev authored
* Add random affine transformation * Rewrite __repr__ * Refactor affine transform and update tests
-
- 12 Feb, 2018 3 commits
- 01 Jan, 2018 1 commit
-
-
Vishwak Srinivasan authored
* add __repr__ for all transform objects * add tests for __repr__
-
- 13 Nov, 2017 1 commit
-
-
Sourabh Daptardar authored
* add to_grayscale + randomGrayscale
-
- 09 Nov, 2017 1 commit
-
-
David de la Iglesia Castro authored
add rotate and RandomRotation to transforms
-
- 02 Nov, 2017 1 commit
-
-
Alykhan Tejani authored
* refactor transforms and add transforms/functional.py * add __all__ to transforms.py
-
- 17 Oct, 2017 2 commits
-
-
Alykhan Tejani authored
-
Alykhan Tejani authored
* add assert for byte tensor to_pil_image * add mode param to ToPILImage * add some more tests * fix formatiing on error messages * added tests for to_pil_image with mode param * flake8 fixes
-
- 15 Oct, 2017 1 commit
-
-
Geoffrey Roeder authored
expands coverage on test_to_tensor to 1 and 4 image channels
-
- 13 Oct, 2017 1 commit
-
-
Alykhan Tejani authored
-
- 12 Oct, 2017 1 commit
-
-
Alykhan Tejani authored
-
- 07 Oct, 2017 1 commit
-
-
Iacopo Poli authored
* added Whiten transform and relative section in README * added Whiten transform and its section in README * fixed lint * fixed lint again * added linear transformation and whitening test unitary covariance * fixed lint and test * commit before rebasing * before rebase * added assertion to check matrix size * fix readme * added space around operator * replace assert with raise ValueError, fix spaces and readme
-
- 05 Oct, 2017 1 commit
-
-
Alykhan Tejani authored
* increase num_samples, reduce alpha and fix seed for hflip and vflip tests * flake8 fixes
-