- 09 Jul, 2019 1 commit
-
-
Surgan Jandial authored
* to_pil_image updates * lint * Update test_transforms.py * Update test_transforms.py
-
- 06 Jul, 2019 1 commit
-
-
Zhun Zhong authored
* Fix bug to Random Erasing 1. Avoid forever loop for getting parameters of erase. 2. replace' img_b' by 'img_c', because it indicates the channel. 3. replace v = torch.rand([img_c, h, w]) by v = torch.empty([img_c, h, w], dtype=torch.float32).normal_(). Normally distributed achieves better performance. * add test * Update test_transforms.py * Update transforms.py * Update test_transforms.py * Update transforms.py * Update functional.py
-
- 04 Jul, 2019 1 commit
-
-
ekka authored
* Minor optimization to RandomErasing This PR adds an additional check on `p` argument and prevents computing `img.shape` multiple times. * linting
-
- 03 Jul, 2019 1 commit
-
-
ptrblck authored
* initial commit * add more checks, fix lint, fix doc
-
- 28 Jun, 2019 2 commits
-
-
Surgan Jandial authored
* updates on normalize * test fixes * Update test_transforms.py
-
Surgan Jandial authored
* test improved * Update test_transforms.py * behaviour changes RandomErasing * test fixes * linter fix
-
- 24 Jun, 2019 1 commit
-
-
Zhun Zhong authored
* add erase function * add Random Erasing * Update transforms.py * Update transforms.py * add test for random erasing * Update test_transforms.py * fix flake8 * Update test_transforms.py * Update functional.py * Update test_transforms.py * fix bug for per-pixel erasing * Update transforms.py * specific for coordinate (x, y) * add raise TypeError for img * Update transforms.py * Update transforms.rst
-
- 20 Jun, 2019 2 commits
-
-
Geovanni Zhang authored
* fix:error message of to_tensor The error "pic should be PIL Image or ndarray. Got '<numpy.ndarray>'" is confusing. * fix:a clearer function name _is_numpy_image is clearer than _is_numpy_image_dim * fix:add a test case Add a test case in test/test_transforms.py to test the error message * fix:pass ci check * fix:wrong random matrix
-
Francisco Massa authored
-
- 14 Jun, 2019 2 commits
-
-
Francisco Massa authored
* Fix normalize for different dtype than float32 * Fix lint
-
François Darmon authored
Change documentation of perspective(). The doc was about an old version that used directly transformation parameters
-
- 05 Jun, 2019 1 commit
-
-
Surgan Jandial authored
* updating docs for randomperspective * my * ci
-
- 21 May, 2019 1 commit
-
-
Francisco Massa authored
-
- 14 May, 2019 1 commit
-
-
SHU authored
Enable fillcolor option for affine transformation for Pillow >= 5.0.0 as described
-
- 06 May, 2019 1 commit
-
-
Adam J. Stewart authored
-
- 02 May, 2019 1 commit
-
-
ekka authored
-
- 25 Apr, 2019 1 commit
-
-
Surgan Jandial authored
* final changes * final * linter * test changes * linter * lint * indent * lint * minor changes * parameter added * ci * ci fixes * indent * indent * indent * arg fixed
-
- 09 Apr, 2019 1 commit
-
-
ekka authored
* Update test_transforms.py * Update transforms.py
-
- 29 Mar, 2019 1 commit
-
-
Parth Agarwal authored
Changed 'channely' to 'channel' in the comments of normalize function.
-
- 26 Mar, 2019 1 commit
-
-
ekka authored
-
- 25 Mar, 2019 1 commit
-
-
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
-
- 24 Mar, 2019 1 commit
-
-
ekka authored
-
- 20 Mar, 2019 1 commit
-
-
Michał Zientkiewicz authored
Signed-off-by:Michal Zientkiewicz <michalz@nvidia.com>
-
- 11 Mar, 2019 2 commits
- 09 Mar, 2019 1 commit
-
-
Irvin Ho authored
-
- 26 Feb, 2019 1 commit
-
-
Surgan Jandial 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
-
- 08 Jan, 2019 1 commit
-
-
surgan12 authored
* doc change * doc changes * lint_checks * Update transforms.py
-
- 30 Dec, 2018 1 commit
-
-
surgan12 authored
* normalise * some changes * Update functional.py * Update functional.py * code changes
-
- 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 1 commit
-
-
surgan12 authored
* pad updated * checked pad * pad checked * pad checked
-
- 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
-
- 02 Nov, 2018 1 commit
-
-
CUI Hao authored
-
- 26 Oct, 2018 1 commit
-
-
Erik Gaasedelen authored
* move area calculation out of loop No need to calculate area 10 times when it doesn't change. * lint
-
- 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
-
- 24 Oct, 2018 1 commit
-
-
Will Frey authored
Check if `lambd` is callable instead of checking if its a `types.Lambda` object.
-