1. 19 Aug, 2022 1 commit
  2. 18 Aug, 2022 4 commits
    • Ponku's avatar
      Added ETH3D stereo dataset (#6349) · 96620011
      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
      96620011
    • Philip Meier's avatar
      expand has_any and has_all to also accept check callables (#6447) · 330b6c9b
      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
      330b6c9b
    • vfdev's avatar
      [proto] Ported RandomIoUCrop from detection refs (#6401) · 961d97b2
      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: default avatarPhilip 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: default avatarPhilip Meier <github.pmeier@posteo.de>
      961d97b2
    • vfdev's avatar
      Added missing assert (#6446) · b9e9c28f
      vfdev authored
      b9e9c28f
  3. 17 Aug, 2022 3 commits
    • Ponku's avatar
      Add FallingThings dataset (#6346) · 162267ca
      Ponku authored
      
      
      * Added Falling Things datasets
      
      * Renamed split to variant
      
      * Update torchvision/datasets/_stereo_matching.py
      
      Changed constant formatting
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      162267ca
    • Ponku's avatar
      Added InStereo2k dataset (#6347) · 8120c594
      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
      8120c594
    • Ponku's avatar
      Add Sintel Stereo dataset (#6348) · db718021
      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
      db718021
  4. 16 Aug, 2022 2 commits
    • Philip Meier's avatar
      port `RandomShortestSize` from detection references to prototype transforms (#6418) · c3573c88
      Philip Meier authored
      * port `RandomShortestSize` from detection references to prototype transforms
      
      * mypy
      
      * add test
      c3573c88
    • Philip Meier's avatar
      Proto transform cleanup (#6408) · c0ba3ec8
      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
      c0ba3ec8
  5. 15 Aug, 2022 3 commits
  6. 11 Aug, 2022 2 commits
  7. 10 Aug, 2022 3 commits
    • Local State's avatar
      Add SwinV2 (#6246) · 5521e9d0
      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: default avatarVasilis 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: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      5521e9d0
    • Vasilis Vryniotis's avatar
      Add support of MViTv2 video variants (#6373) · 7e8186e0
      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.
      7e8186e0
    • vfdev's avatar
      [proto] Fixed issue with `F.pad` from RandomZoomOut (#6386) · 6908129a
      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
      6908129a
  8. 09 Aug, 2022 2 commits
  9. 08 Aug, 2022 1 commit
  10. 03 Aug, 2022 1 commit
  11. 02 Aug, 2022 3 commits
  12. 01 Aug, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Add registration mechanism for models (#6333) · 0a919dbb
      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.
      0a919dbb
  13. 28 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Ported all transforms to the new API (#6305) · 77c8c91c
      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: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      77c8c91c
  14. 27 Jul, 2022 1 commit
    • Aditya Oke's avatar
      Refactor tests for ops (#6027) · 6aacf497
      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: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      6aacf497
  15. 25 Jul, 2022 1 commit
  16. 22 Jul, 2022 2 commits
  17. 11 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Added some transformations and fixed type hints (#6245) · 9effc4cd
      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
      9effc4cd
  18. 08 Jul, 2022 1 commit
  19. 06 Jul, 2022 1 commit
    • vfdev's avatar
      [proto] Added mid-level ops and feature-based ops (#6219) · bd19fb8e
      vfdev authored
      * Added mid-level ops and feature-based ops
      
      * Fixing deadlock in dataloader with circular imports
      
      * Added non-scalar fill support workaround for pad
      
      * Removed comments
      
      * int/float support for fill in pad op
      
      * Updated type hints and removed bypass option from mid-level methods
      
      * Minor nit fixes
      bd19fb8e
  20. 01 Jul, 2022 1 commit
  21. 24 Jun, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Add MViT architecture in TorchVision (#6198) · fb7f9a16
      Vasilis Vryniotis authored
      * Adding MViT v2 architecture (#6105)
      
      * Adding mvitv2 architecture
      
      * Fixing memory issues on tests and minor refactorings.
      
      * Adding input validation
      
      * Adding docs and minor refactoring
      
      * Add `min_temporal_size` in the supported meta-data.
      
      * Switch Tuple[int, int, int] with List[int] to support easier the 2D case
      
      * Adding more docs and references
      
      * Change naming conventions of classes to follow the same pattern as MobileNetV3
      
      * Fix test breakage.
      
      * Update todos
      
      * Performance optimizations.
      
      * Add support to MViT v1 (#6179)
      
      * Switch implementation to v1 variant.
      
      * Fix docs
      
      * Adding back a v2 pseudovariant
      
      * Changing the way the network are configured.
      
      * Temporarily removing v2
      
      * Adding weights.
      
      * Expand _squeeze/_unsqueeze to support arbitrary dims.
      
      * Update references script.
      
      * Fix tests.
      
      * Fixing frames and preprocessing.
      
      * Fix std/mean values in transforms.
      
      * Add permanent Dropout and update the weights.
      
      * Update accuracies.
      
      * Fix documentation
      
      * Remove unnecessary expected file.
      
      * Skip big model test
      
      * Rewrite the configuration logic to reduce LOC.
      
      * Fix mypy
      fb7f9a16
  22. 23 Jun, 2022 4 commits