1. 26 Aug, 2022 1 commit
    • vfdev's avatar
      [proto] Consistent supported/unsupported types handling in... · 7cc2c95a
      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
      7cc2c95a
  2. 25 Aug, 2022 5 commits
  3. 24 Aug, 2022 2 commits
  4. 23 Aug, 2022 3 commits
  5. 22 Aug, 2022 2 commits
  6. 19 Aug, 2022 3 commits
    • vfdev's avatar
      [proto] Fixed to_image_tensor and to_image_pil (#6454) · a409c3fe
      vfdev authored
      * [proto] Fixed to_image_tensor and to_image_pil
      
      * Fixed failing test
      a409c3fe
    • Sophia Zhi's avatar
      Add the S3D architecture to TorchVision (#6412) · 6de7021e
      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: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      6de7021e
    • Philip Meier's avatar
      port `FixedSizeCrop` from detection references to prototype transforms (#6417) · 9c3e2bf4
      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
      9c3e2bf4
  7. 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
  8. 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
  9. 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
  10. 15 Aug, 2022 3 commits
  11. 11 Aug, 2022 2 commits
  12. 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
  13. 09 Aug, 2022 2 commits
  14. 08 Aug, 2022 1 commit
  15. 03 Aug, 2022 1 commit
  16. 02 Aug, 2022 3 commits