- 04 Mar, 2021 1 commit
-
-
Nicolas Hug authored
* WIP, still needs tests and docs * tests * flake8 * Docs + fixed some tests * proper error messages
-
- 03 Mar, 2021 1 commit
-
-
KAI ZHAO authored
-
- 09 Feb, 2021 1 commit
-
-
clint (woonhyuk baek) authored
* aspect ratio must be a sampling from log scale. reference from: https://github.com/pytorch/vision/blob/8317295c1d272e0ba7b2ce31e3fd2c048235fc73/torchvision/transforms/transforms.py#L833-L836 * add random erasing unittest code * Increased threshold for difference in sampling rate * move outside of the loop * log_ratio move outside of the loop. RandomResizedCrop also Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 02 Feb, 2021 1 commit
-
-
Saurabh Khanduja authored
* Renamed original method to test center crop * Added test method, docs and added padding when imgsize < cropsize. * BugFix - keep odd_crop_size odd * Do not crop when image size after padding matches crop size; updated test. Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 28 Jan, 2021 1 commit
-
-
Anthony Kantsemal authored
* initial fix * fill=0 * docstrings * fill type check * fill type check * set None to zero * unit tests * set instead of NotImplemented * fix W293 Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 26 Jan, 2021 2 commits
-
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Zhengyang Feng authored
-
- 07 Jan, 2021 1 commit
-
-
Zhengyang Feng authored
* adjust_hue * adjust_* * colorjitter
-
- 23 Dec, 2020 1 commit
-
-
Zhengyang Feng authored
* Initial doc clean-up * Remove all private docs * Rename files * Highlight backend inconsistencies * Sequence and number * [Need checking] AutoAugment related doc change * Revert name changes
-
- 14 Dec, 2020 1 commit
-
-
Vasilis Vryniotis authored
* Invert Transform (#3104) * Adding invert operator. * Make use of the _assert_channels(). * Update upper bound value. * Remove private doc from invert, create or reuse generic testing methods to avoid duplication of code in the tests. (#3106) * Create posterize transformation and refactor common methods to assist reuse. (#3108) * Implement the solarize transform. (#3112) * Implement the adjust_sharpness transform (#3114) * Adding functional operator for sharpness. * Adding transforms for sharpness. * Handling tiny images and adding a test. * Implement the autocontrast transform. (#3117) * Implement the equalize transform (#3119) * Implement the equalize transform. * Turn off deterministic for histogram. * Fixing test. (#3126) * Force ratio to be float to avoid numeric overflows on blend. (#3127) * Separate the tests of Adjust Sharpness from ColorJitter. (#3128) * Add AutoAugment Policies and main Transform (#3142) * Separate the tests of Adjust Sharpness from ColorJitter. * Initial implementation, not-jitable. * AutoAugment passing JIT. * Adding tests/docs, changing formatting. * Update test. * Fix formats * Fix documentation and imports. * Apply changes from code review: - Move the transformations outside of AutoAugment on a separate method. - Renamed degenerate method for sharpness for better clarity. * Update torchvision/transforms/functional.py Co-authored-by:
vfdev <vfdev.5@gmail.com> * Apply more changes from code review: - Add InterpolationMode parameter. - Move all declarations away from AutoAugment constructor and into the private method. * Update documentation. * Apply suggestions from code review Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> * Apply changes from code review: - Refactor code to eliminate as any to() and clamp() as possible. - Reuse methods where possible. - Apply speed ups. * Replacing pad. Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
Francisco Massa <fvsmassa@gmail.com>
-
- 02 Dec, 2020 1 commit
-
-
Zhengyang Feng authored
* Fill color support for tensor affine transforms * PEP fix * Docstring changes and float support * Docstring update for transforms and float type cast * Cast only for Tensor * Temporary patch for lack of Union type support, plus an extra unit test * More plausible bilinear filling for tensors * Keep things simple & New docstrings * Fix lint and other issues after merge * make it in one line * Docstring and some code modifications * More tests and corresponding changes for transoforms and docstring changes * Simplify test configs * Update test_functional_tensor.py * Update test_functional_tensor.py * Move assertions Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 27 Nov, 2020 2 commits
-
-
Vasilis Vryniotis authored
-
vfdev authored
[BC-breaking] Introduced InterpolationModes and deprecated arguments: resample and fillcolor (#2952) * Deprecated arguments: resample and fillcolor Replaced by interpolation and fill * Updates according to the review * Added tests to check warnings and asserted BC * [WIP] Interpolation modes * Added InterpolationModes enum * Added supported for int values for interpolation for BC * Removed useless test code * Fix flake8
-
- 16 Nov, 2020 1 commit
-
-
Vasilis Vryniotis authored
* ColorJitter gets its random params by calling get_params(). * Update arguments. * Styles. * Add description for Nones. * Chainging Nones to optional.
-
- 22 Oct, 2020 1 commit
-
-
vfdev authored
-
- 21 Oct, 2020 1 commit
-
-
F-G Fernandez authored
* docs: Fixed docstring of RandomResizedCrop * docs: Updated docstring Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 16 Oct, 2020 1 commit
-
-
vfdev authored
-
- 14 Oct, 2020 1 commit
-
-
vfdev authored
-
- 07 Oct, 2020 3 commits
-
-
vfdev authored
-
vfdev authored
* [WIP] Added scriptable transforms python example * Replaced script file with jupyter notebook * Updated readme * Updates according to review + updated docstrings * Updated notebook and docstring according to the review * torch script -> torchscript
-
Tejan Karmali authored
* Added GaussianBlur transform * fixed linting * supports fixed radius for kernel * [WIP] New API for gaussian_blur * Gaussian blur with kernelsize and sigma API * Fixed implementation and updated tests * Added large input case and refactored gt into a file * Updated docs * fix kernel dimesnions order while creating kernel * added tests for exception handling of gaussian blur * fix linting, bug in tests * Fixed failing tests, refactored code and other minor fixes Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
- 05 Oct, 2020 2 commits
-
-
vfdev authored
- Fixed incorrect docs layout and a warning
-
Brian Vaughan authored
* make convert_image_dtype scriptable * move convert dtype to functional_tensor since only works on tensors * retain availability of convert_image_dtype in functional.py * Update code and tests * Replaced int by torch.dtype * int -> torch.dtype and use F instead of F_t * Update functional_tensor.py Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
- 30 Sep, 2020 1 commit
-
-
vfdev authored
- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
-
- 23 Sep, 2020 1 commit
-
-
vfdev authored
* [WIP] All transforms are now derived from torch.nn.Module - Compose, RandomApply, Normalize can be jit scripted * Fixed flake8 * Updated code and docs - added getattr to Lambda and tests - updated code and docs of Compose - added failing test with append/extend on Composed.transforms * Fixed flake8 * Updated code, tests and docs
-
- 22 Sep, 2020 1 commit
-
-
vfdev authored
* Refactor transforms input checks - added _setup_size to check and setup size argument * More refactor
-
- 28 Aug, 2020 1 commit
-
-
vfdev authored
* [WIP] Unify ops Grayscale and RandomGrayscale * Unified inputs for grayscale op and transforms - deprecated F.to_grayscale in favor of F.rgb_to_grayscale * Fixes bug with fp input * [WIP] Updated code according to review * Removed unused import
-
- 08 Aug, 2020 1 commit
-
-
vfdev authored
* Unified input for RandomPerspective * Updated docs * Fixed failing test and bug with torch.randint * Update test_functional_tensor.py
-
- 07 Aug, 2020 1 commit
-
-
vfdev authored
* Added code for F_t.rotate with test - updated F.affine tests * Rotate test tolerance to 2% * Fixes failing test * [WIP] RandomRotation * Unified RandomRotation with tests
-
- 03 Aug, 2020 1 commit
-
-
Areiser authored
* Clarify scaling of ToTensor transform for target masks in the documentation * Add link to the segmentation reference Co-authored-by:
vfdev <vfdev.5@gmail.com> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 29 Jul, 2020 1 commit
-
-
vfdev authored
* [WIP] Unified input for T.RandomAffine * Unified inputs for T.RandomAffine transformation * Update transforms.py * Updated docs of F.affine fillcolor * Update transforms.py
-
- 08 Jul, 2020 1 commit
-
-
vfdev authored
* Minor docs improvement * Replaced link by already defined `filters`_
-
- 07 Jul, 2020 2 commits
- 06 Jul, 2020 1 commit
-
-
vfdev authored
* [WIP] F.resize with tensor * Adapted T.Resize and F.resize with a test * According to the review, fixed copy-pasted messages and unused imports
-
- 03 Jul, 2020 1 commit
-
-
vfdev authored
* Related to #2292 - RandomErasing is not scriptable * Fixed code according to review comments - added additional checking of value vs img num_channels
-
- 30 Jun, 2020 2 commits
-
-
vfdev authored
- RandomCrop: crop with padding using all commonly supported modes
-
vfdev authored
* [WIP] Unified Tensor/PIL crop * Fixed misplaced type annotation * Fixed tests - crop with padding - other tests using mising private functions: _is_pil_image, _get_image_size * Unified CenterCrop and F.center_crop - sorted includes in transforms.py - used py3 annotations * Unified FiveCrop and F.five_crop * Improved tests and docs * Unified TenCrop and F.ten_crop * Removed useless typing in functional_pil * Updated code according to the review - removed useless torch.jit.export - added missing typing return type - fixed F.F_pil._is_pil_image -> F._is_pil_image * Removed useless torch.jit.export * Improved code according to the review
-
- 26 Jun, 2020 1 commit
-
-
vfdev authored
* [WIP] Add Tensor implementation for pad * Unified Pad and F.pad opertion for PIL and Tensor inputs * Added another test and improved docstring * Updates according to the review * Cosmetics and replaced f-string by "".format * Updated docstring - added compatibility support for padding as [value, ] for functional_pil.pad Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
- 23 Jun, 2020 1 commit
-
-
joerg-de authored
-