- 16 Feb, 2023 3 commits
-
-
Philip Meier authored
-
Nicolas Hug authored
-
Philip Meier authored
Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
vfdev-5 <vfdev.5@gmail.com>
-
- 14 Feb, 2023 1 commit
-
-
Philip Meier authored
Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
- 13 Feb, 2023 3 commits
-
-
Philip Meier authored
-
Philip Meier authored
-
Philip Meier authored
-
- 26 Jan, 2023 1 commit
-
-
Nicolas Hug authored
-
- 24 Jan, 2023 1 commit
-
-
Nicolas Hug authored
-
- 16 Jan, 2023 1 commit
-
-
Philip Meier authored
-
- 06 Dec, 2022 1 commit
-
-
Philip Meier authored
-
- 05 Dec, 2022 1 commit
-
-
Philip Meier authored
* rename features._Feature to datapoints.Datapoint * _Datapoint to Datapoint * move is_simple_tensor to transforms.utils * fix CI * move Datapoint out of public namespace
-
- 29 Nov, 2022 1 commit
-
-
Philip Meier authored
* introduce type failures in dispatchers * add type checks to all dispatchers * add missing else * add test * fix convert_color_space
-
- 28 Nov, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Remove `_FT` usages from functional * Update error messages
-
Philip Meier authored
-
- 10 Nov, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Performance optimization on adjust_hue_image_tensor * handle ints * Inplace logical ops * Remove unnecessary casting. * Fix linter.
-
- 09 Nov, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Avoid double casting on adjust_contrast * Handle properly ints.
-
- 04 Nov, 2022 1 commit
-
-
Philip Meier authored
* replace tensor division with scalar division and tensor multiplication * fix consistency test tolerances
-
- 31 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Add support of inplace on `convert_format_bounding_box` * Move `as_subclass` calls to `F` invocations * Fix bug. * Fix _cxcywh_to_xyxy. * Fixing _xyxy_to_cxcywh. * Adding comments.
-
- 25 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Minor improvements on functional. * Restore `_split_alpha`. * Revert "Restore `_split_alpha`." This reverts commit 2286120be6d4af2a3c9b52b605d87611ec70fe06.
-
- 24 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Cleaning up the size dimension methods. * Change error messages.
-
- 21 Oct, 2022 3 commits
-
-
Philip Meier authored
* add KernelInfo * split dtype and device consistency tests * add proper support for video * fix tests and add DispatcherInfo * add aliases * cleanup * fix typo
-
Philip Meier authored
* remove copy from convert_color_space * remove copy from convert_format_bounding_box * remove .to_* methods from features * remove unnecessary clones * add perf todos * refactor convert_color_space * lint * remove another clone * and another clone * remove a missed copy
-
vfdev authored
* WIP * _blend optim v1 * _blend and color ops optims: v2 * updated a/r tol and configs to make tests pass * Loose a/r tolerance in AA tests * Use custom rgb_to_grayscale * Renamed img -> image * nit code update * PR review * adjust_contrast convert to float32 earlier * Revert "adjust_contrast convert to float32 earlier" This reverts commit a82cf8c739d02acd9868ebee4b8b99d101c3e45e.
-
- 12 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Removing unnecessary methods/classes. * Unions instead of ImageOrVideo types * Fixing JIT issue.
-
- 11 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Change `image_size` to `spatial_size` * Fix linter * Fixing more tests. * Adding get_num_channels_video and get_spatial_size_* kernels for video, masks and bboxes. * Refactor get_spatial_size * Reduce the usage of `query_chw` where possible * Rename `query_chw` to `query_spatial_size` * Adding `get_num_frames` dispatcher and kernel. * Adding jit-scriptability tests
-
- 10 Oct, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Adding support of Video to missed Transforms and Kernels * Fixing Grayscale Transform. * Fixing FiveCrop and TenCrop Transforms. * Fix Linter * Fix more kernels. * Add `five_crop_video` and `ten_crop_video` kernels * Added a TODO. * Missed Video isinstance * nits * Fix bug on AugMix * Nits and TODOs. * Reapply Philip's recommendation * Fix mypy and JIT * Fixing test
-
- 07 Oct, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Rewrite `get_dimensions`, `get_num_channels` and `get_spatial_size` * Remove `get_chw` * Remove comments * Make `get_spatial_size` support non-image input * Reduce the unnecessary use of `get_dimensions*` * Fix linters * Fix merge bug * Linter * Fix linter
-
Philip Meier authored
* add video feature * add video kernels * add video testing utils * add one kernel info * fix kernel names in Video feature * use only uint8 for video testing * require at least 4 dims for Video feature * add TODO for image_size -> spatial_size * image -> video in feature constructor * introduce new combined images and video type * add video to transform utils * fix transforms test * fix auto augment * cleanup * address review comments * add remaining video kernel infos * add batch dimension squashing to some kernels * fix tests and kernel infos * add xfails for arbitrary batch sizes on some kernels * fix test setup * fix equalize_image_tensor for multi batch dims * fix adjust_sharpness_image_tensor for multi batch dims * address review comments
-
- 23 Sep, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Align and Clean up transform types * Move type definitions to `_utils.py` * fixing error message on tests * Apply code review suggestions Co-authored-by:
vfdev <vfdev.5@gmail.com> * Centralizing types and switching to always getting dicts. * Fixing linter * Refactoring typing definitions. * Remove relative imports. * Reuse type. * Temporarily remove the TorchData tests. * Restore the TorchData tests. Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
- 20 Sep, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Improve existing low kernel test. * Add new midlevel jit-scriptability test (failing). * Remove duplicate aliases from kernel tests. * Fixing colour kernels. * Fixing deprecated kernels. * fix mypy * Silence mypy instead of fixing to avoid performance penalty * Fixing augment kernels. * Fixing augment meta. * Remove is_tracing calls. * Add fake ImageType and DType * Fixing type conversion kernels. * Fixing misc kernels. * partial fix geometry * Remove mutable default from `_pad_with_vector_fill()` + all other unnecessary defaults. * Fix geometry ops * Fixing tests * Removed xfail for jit tests on midlevel ops Co-authored-by:vfdev-5 <vfdev.5@gmail.com>
-
- 16 Sep, 2022 1 commit
-
-
Philip Meier authored
* fix convert_format_bounding_box, affine_bounding_box, and resize_bounding_box * fix perspective and elastic * fix tests
-
- 14 Sep, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Rename `convert_bounding_box_format` => `convert_format_bounding_box` * Add missed replacement.
-
Vasilis Vryniotis authored
* Fix bug on `get_image_size()` and move it to deprecated. Introduce generic named spatial/channel equivalents. * Update tests and fix mypy issues. * Remove the use of get_image_size from ElasticTransform. * Fix linter * Apply suggestions from code review. * Update torchvision/prototype/transforms/functional/_deprecated.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Further changes from code review. * Fix linter Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 31 Aug, 2022 1 commit
-
-
Vasilis Vryniotis authored
* clean up bboxes * Correcting bug on RandAugment. * Fix bug on erase() * Moving `_parse_pad_padding()` to functional geometry * Fixing bug on deprecated Grayscale transforms * Porting old bugfixes from main branch to _apply_image_transform * Dropping mandatory keyword arguments to maintain BC. * Adding antialias option where possible. * Specifying types in `_transform()` where possible. * Add todo. * Fixing tests. * Adding padding_mode in pad_bbox Co-authored-by:vfdev <vfdev.5@gmail.com>
-
- 26 Aug, 2022 2 commits
-
-
Philip Meier authored
* add aliases for hflip and vflip * reduce imports from torchvision.transforms in torchvision.prototype.transforms * add aliases for to_pil_image abd pil_to_tensor * deprecate to_tensor * add some FIXME cleanup comments * address reviews * add dimension getters * undeprecate PILToTensor and ToPILImage * address review * fix test
-
vfdev authored
[proto] Consistent supported/unsupported types handling in LinearTransformation, other perf comments (#6498) * WIP * [proto] unformal supported/unsupported types handling in LinearTransformation, other perf comments * Type fixes and other minor stuff
-
- 18 Aug, 2022 1 commit
-
-
vfdev authored
* [proto] Ported RandomIoUCrop from detection refs * Scope acceptable data types * Added get_params test * Added test__transform_empty_params * Added support for OneHotLabel and tests * Added tests for mask * Updated error message * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Added support for OHE masks and tests * Ignored mypy error * Fixed forward call on sample * Added a todo Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 16 Aug, 2022 1 commit
-
-
Philip Meier authored
* fix TenCrop * use dispatchers for RandomPhotometricDistort * add convert_color_space dispatcher and use it in conversion transforms * fix convert_color_space naming scheme * add to_color_space method to Image feature * remove TODO from BoundingBox.to_format() * fix test * fix imports * fix passthrough * remove apply_recursively in favor of pytree * refactor BatchMultiCrop
-
- 22 Jul, 2022 1 commit
-
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-