- 23 Aug, 2022 3 commits
-
-
キツネさん authored
* Fix out-of-bounds read in decode_png * Fix lint * Use size_t instead of int to fix sign-compare check * Add a unit-test to decode currupted png file * Fix linter * Update torchvision/csrc/io/image/cpu/decode_png.cpp * Replace png_error with TORCH_CHECK Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update error message * Update error message Co-authored-by:
vfdev <vfdev.5@gmail.com> * Fix linter Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
vfdev <vfdev.5@gmail.com>
-
vfdev authored
* WIP * [proto] Added SimpleCopyPaste transform * Refactored and cleaned the implementation and added tests * Fixing code * Fixed code formatting issue * Minor updates * Fixed merge issue Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
Philip Meier authored
-
- 22 Aug, 2022 2 commits
-
-
Philip Meier authored
* add dispatcher for erase image kernels * simplify RandomErasing * replace query_image with query_image_dimensions * use value sentinel and fix test for RandomErasing * image_dimensions -> chw
-
vfdev authored
* WIP * Fixed dtype correction and tests * Removed PIL Image support and output always Tensor
-
- 19 Aug, 2022 3 commits
-
-
vfdev authored
* [proto] Fixed to_image_tensor and to_image_pil * Fixed failing test
-
Sophia Zhi authored
* S3D initial commit * add model builder code and docstrings * change classifier submodule, populate weights enum * fix change of block args from List[List[int]] to ints * add VideoClassification to transforms * edit weights url for testing, add s3d to models.video init * norm_layer changes * norm_layer and args fix * Overwrite default dropout * Remove docs from internal submodules. * Fix tests * Adding documentation. * Link doc from main models.rst * Fix min_temporal_size * Adding crop/resize parameters in references script * Release weights. * Refactor dropout. * Adding the weights table in the doc Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
Philip Meier authored
* port `FixedSizeCrop` from detection references to prototype transforms * mypy * [skip ci] call invalid boxes and corresponding masks and labels * cherry-pick missing functions from #6401 * fix feature wrapping * add test * mypy * add input type restrictions * add test for _get_params * fix input checks
-
- 18 Aug, 2022 4 commits
-
-
Ponku authored
* Added ETH3D stereo dataset * Small doc-reformating * Removed assertions with no use, changed np conversion * Added ETH3D stereo dataset * Removed assertions with no use, changed np conversion * rebased on main * Revert "Removed assertions with no use, changed np conversion" This reverts commit 1478a8c056bbed59b6f4a67f78a5cfac84cc9fda. * Update to np.bool instead of np.bool_ * lint and mypy nit fix * test nit
-
Philip Meier authored
* expand has_any and has_all to also accept check callables * add test and fix has_all * add support for simple tensor images to CutMix, MixUp and RandomIoUCrop * remove TODO * remove pythonic syntax sugar * simplify * use concreate examples in test rather than abstract ones * simplify further
-
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>
-
vfdev authored
-
- 17 Aug, 2022 3 commits
-
-
Ponku authored
* Added Falling Things datasets * Renamed split to variant * Update torchvision/datasets/_stereo_matching.py Changed constant formatting Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Ponku authored
* added SceneFLow variant datasets * Changed split name to variant name * removed trailing commented code line * Added InStereo2k dataset * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * rebased on main * lint fix * Added InStereo2k dataset
-
Ponku authored
* added SceneFLow variant datasets * Changed split name to variant name * removed trailing commented code line * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * Added Sintel Stereo dataset * small refactor in tests * Fixed doc formatting. * candidate fix for FileNotFound on windows test * Adressing comments * rebased on main * lint fix
-
- 16 Aug, 2022 2 commits
-
-
Philip Meier authored
* port `RandomShortestSize` from detection references to prototype transforms * mypy * add test
-
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
-
- 15 Aug, 2022 3 commits
-
-
Philip Meier authored
* port ScaleJitter from detection reference to prototype transforms * add test * use MagicMock as sentinel
-
Philip Meier authored
* disable download test for Places365 * add xfail test for broken download servers * add more comments * mark SBU download as failing Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
vfdev authored
* [proto] Another attemp to rewrite RandomCrop * Fixed implementation issue and updated tests
-
- 11 Aug, 2022 2 commits
-
-
vfdev authored
* [proto] Compose keeps BC * Compose -> Compose(Transform)
-
Vasilis Vryniotis authored
* Fix typing jit issue on RoIPool and RoIAlign * Fix nit. * Address code review comments.
-
- 10 Aug, 2022 3 commits
-
-
Local State authored
* init submit * fix typo * support ufmt and mypy * fix 2 unittest errors * fix ufmt issue * Apply suggestions from code review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * unify codes * fix meshgrid indexing * fix a bug * fix type check * add type_annotation * add slow model * fix device issue * fix ufmt issue * add expect pickle file * fix jit script issue * fix type check * keep consistent argument order * add support for pretrained_window_size * avoid code duplication * a better code reuse * update window_size argument * make permute and flatten operations modular * add PatchMergingV2 * modify expect.pkl * use None as default argument value * fix type check * fix indent * fix window_size (temporarily) * remove "v2_" related prefix and add v2 builder * remove v2 builder * keep default value consistent with official repo * deprecate dropout * deprecate pretrained_window_size * fix dynamic padding edge case * remove unused imports * remove doc modification * Revert "deprecate dropout" This reverts commit 8a13f932815ae25655c07430d52929f86b1ca479. * Revert "fix dynamic padding edge case" This reverts commit 1c7579cb1bd7bf2f0f94907f39bee6ed707a97a8. * remove unused kwargs * add downsample docs * revert block default value * revert argument order change * explicitly specify start_dim * add small and base variants * add expect files and slow_models * Add model weights and documentation for swin v2 * fix lint * fix end of files line Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com>
-
Vasilis Vryniotis authored
* Extending to support MViTv2 * Fix docs, mypy and linter * Refactor the relative positional code. * Code refactoring. * Rename vars. * Update docs. * Replace assert with exception. * Updat docs. * Minor refactoring. * Remove the square input limitation. * Moving methods around. * Modify the shortcut in the attention layer. * Add ported weights. * Introduce a `residual_cls` config on the attention layer. * Make the patch_embed kernel/padding/stride configurable. * Apply changes from code-review. * Remove stale todo.
-
vfdev authored
* [proto] Fixed issue with `F.pad` from RandomZoomOut * Fixed failing tests * Fixed wrong type hint * Fixed fill=None in pad_image_pil * Try to support fill=None in functional * Code formatting
-
- 09 Aug, 2022 2 commits
- 08 Aug, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Make test precision stricter for Classification * Update classification threshold. * Update quantized classification threshold.
-
- 03 Aug, 2022 1 commit
-
-
Ponku authored
* added SceneFLow variant datasets * Changed split name to variant name * removed trailing commented code line
-
- 02 Aug, 2022 3 commits
-
-
Ponku authored
* Broken down PR(#6269). Added an additional dataset * Removed some types. Store None instead of "". Merged test util functions. * minor mypy fixes. minor doc fixes * reformated docstring * Added additional line-skips
-
Aditya Oke authored
* Fix bug in calculating cIoU for unequal sizes * Remove comment * what the epsilon? * Fixing DIoU * Optimization by Francisco. * Fix the expected values on CompleteBoxIoU * Apply suggestions from code review Co-authored-by:
Abhijit Deo <72816663+abhi-glitchhg@users.noreply.github.com> * Adding cartesian product test. * remove static Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Abhijit Deo <72816663+abhi-glitchhg@users.noreply.github.com>
-
Abhijit Deo authored
* cleaning up box decoding * minor nits * cleanup for box encoding also addded.
-
- 01 Aug, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Model registration mechanism. * Add overwrite options to the dataset prototype registration mechanism. * Adding example models. * Fix module filtering * Fix linter * Fix docs * Make name optional if same as model builder * Apply updates from code-review. * fix minor bug * Adding getter for model weight enum * Support both strings and callables on get_model_weight. * linter fixes * Fixing mypy. * Renaming `get_model_weight` to `get_model_weights` * Registering all classification models. * Registering all video models. * Registering all detection models. * Registering all optical flow models. * Fixing mypy. * Registering all segmentation models. * Registering all quantization models. * Fixing linter * Registering all prototype depth perception models. * Adding tests and updating existing tests. * Fix linters * Fix tests. * Add beta annotation on docs. * Fix tests. * Apply changes from code-review. * Adding documentation. * Fix docs.
-
- 28 Jul, 2022 1 commit
-
-
vfdev authored
* [proto] Added few transforms tests, part 1 (#6262) * Added supported/unsupported data checks in the tests for cutmix/mixup * Added RandomRotation, RandomAffine transforms tests * Added tests for RandomZoomOut, Pad * Update test_prototype_transforms.py * Added RandomCrop transform and tests (#6271) * [proto] Added GaussianBlur transform and tests (#6273) * Added GaussianBlur transform and tests * Fixing code format * Copied correctness test * [proto] Added random color transforms and tests (#6275) * Added random color transforms and tests * Disable smoke test for RandomSolarize, RandomAdjustSharpness * Added RandomPerspective and tests (#6284) - replaced real image creation by mocks for other tests * Added more functional tests (#6285) * [proto] Added elastic transform and tests (#6295) * WIP [proto] Added functional elastic transform with tests * Added more functional tests * WIP on elastic op * Added elastic transform and tests * Added tests * Added tests for ElasticTransform * Try to format code as in https://github.com/pytorch/vision/pull/5106 * Fixed bug in affine get_params test * Implemented RandomErase on PIL input as fallback to tensors (#6309) Added tests * Added image_size computation for BoundingBox.rotate if expand (#6319) * Added image_size computation for BoundingBox.rotate if expand * Added tests * Added erase_image_pil and eager/jit erase_image_tensor test (#6320) * Updates according to the review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 27 Jul, 2022 1 commit
-
-
Aditya Oke authored
* Refactor tests * Remove tol, fix comments * Add tolerance only where necessary * Add tolerance only where necessary * Add tolerance only where necessary * Refactor to adapt suggestions * Refactor and add nits * Refactor box area * Refactor to one file * Adapt almost all except area * final update * Tighten for jit * Refactor slightly * Fix tests Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 25 Jul, 2022 1 commit
-
-
vfdev authored
* [proto] Added missing decorator for center_crop_segmentation_mask tests * Added center_crop_image_tensor
-
- 22 Jul, 2022 2 commits
-
-
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>
-
Nicolas Hug authored
-
- 11 Jul, 2022 1 commit
-
-
vfdev authored
* Another attempt to add transforms * Fixed padding type hint * Fixed fill arg for pad and rotate, affine * code formatting and type hints for affine transformation * Fixed flake8 * Updated tests to save and load transforms * Fixed code formatting issue * Fixed jit loading issue * Restored fill default value to None Updated code according to the review * Added tests for rotation, affine and zoom transforms * Put back commented code * Random erase bypass boxes and masks Go back with if-return/elif-return/else-return * Fixed acceptable and non-acceptable types for Cutmix/Mixup * Updated conditions for _BaseMixupCutmix
-
- 08 Jul, 2022 1 commit
-
-
vfdev authored
* Updated tests to save and load transforms * Fixed code formatting issue
-