1. 27 Feb, 2022 1 commit
  2. 25 Feb, 2022 2 commits
    • Prabhat Roy's avatar
      1fc53b28
    • Philip Meier's avatar
      Transforms without dispatcher (#5421) · 7251769f
      Philip Meier authored
      
      
      * add prototype transforms that don't need dispatchers
      
      * cleanup
      
      * remove legacy_transform decorator
      
      * remove legacy classes
      
      * remove explicit param passing
      
      * streamline extra_repr
      
      * remove obsolete ._supports() method
      
      * cleanup
      
      * remove Query
      
      * cleanup
      
      * fix tests
      
      * kernels -> functional
      
      * move image size and num channels extraction to functional
      
      * extend legacy function to extract image size and num channels
      
      * implement dispatching for auto augment
      
      * fix auto augment dispatch
      
      * revert some naming changes
      
      * remove ability to pass params to autoaugment
      
      * fix legacy image size extraction
      
      * align prototype.transforms.functional with transforms.functional
      
      * cleanup
      
      * fix image size and channels extraction
      
      * fix affine and rotate
      
      * revert image size to (width, height)
      
      * Minor corrections
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      7251769f
  3. 24 Feb, 2022 1 commit
  4. 18 Feb, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding AugMix implementation (#5411) · 48a61df2
      Vasilis Vryniotis authored
      
      
      * Adding basic augmix implementation.
      
      * Finish the implementation.
      
      * Add tests and documentation.
      
      * Fix tests.
      
      * Simplify code.
      
      * Speed optimizations.
      
      * Per image weights instead of per batch.
      
      * Fix tests.
      
      * Update torchvision/transforms/autoaugment.py
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      
      * Changing the default severity value to get by default the same strength as RandAugment.
      Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
      48a61df2
  5. 16 Feb, 2022 1 commit
    • Philip Meier's avatar
      add prototype transforms that use the prototype dispatchers (#5418) · 52e6bd08
      Philip Meier authored
      * add prototype transforms that use the prototype dispatchers
      
      Conflicts:
      	torchvision/prototype/transforms/__init__.py
      
      * simplify
      
      * add logger
      
      * remove legacy classes
      
      Conflicts:
      	torchvision/prototype/transforms/_augment.py
      	torchvision/prototype/transforms/_auto_augment.py
      	torchvision/prototype/transforms/_geometry.py
      
      * make get_params private
      
      * remove randbool method
      
      * remove AutoAugmentDispatcher
      
      * add high level kernels for meta conversion
      
      * remove transforms meta abstraction from auto augment transforms
      
      * appease mypy
      
      * add smoke tests for transforms
      
      * remove Query object
      
      * remove extra_repr helper
      
      * fix tests
      
      * appease mypy
      
      * revert some changes on the kernel tests
      
      * fix dispatcher annotations
      
      * remove float cast for torch.rand
      
      * add helper to query image
      
      * fix imports
      
      * address auto augment comments
      
      * cleanup
      52e6bd08
  6. 15 Feb, 2022 2 commits
  7. 11 Feb, 2022 1 commit
    • Philip Meier's avatar
      Revamp prototype features and transforms (#5407) · d32bc4ba
      Philip Meier authored
      * revamp prototype features (#5283)
      
      * remove decoding from prototype datasets (#5287)
      
      * remove decoder from prototype datasets
      
      * remove unused imports
      
      * cleanup
      
      * fix readme
      
      * use OneHotLabel in SEMEION
      
      * improve voc implementation
      
      * revert unrelated changes
      
      * fix semeion mock data
      
      * fix pcam
      
      * readd functional transforms API to prototype (#5295)
      
      * readd functional transforms
      
      * cleanup
      
      * add missing imports
      
      * remove __torch_function__ dispatch
      
      * readd repr
      
      * readd empty line
      
      * add test for scriptability
      
      * remove function copy
      
      * change import from functional tensor transforms to just functional
      
      * fix import
      
      * fix test
      
      * fix prototype features and functional transforms after review (#5377)
      
      * fix prototype functional transforms after review
      
      * address features review
      
      * make mypy more strict on prototype features
      
      * make mypy more strict for prototype transforms
      
      * fix annotation
      
      * fix kernel tests
      
      * add automatic feature type dispatch to functional transforms (#5323)
      
      * add auto dispatch
      
      * fix missing arguments error message
      
      * remove pil kernel for erase
      
      * automate feature specific parameter detection
      
      * fix typos
      
      * cleanup dispatcher call
      
      * remove __torch_function__ from transform dispatch
      
      * remove auto-generation
      
      * revert unrelated changes
      
      * remove implements decorator
      
      * change register parameter order
      
      * change order of transforms for readability
      
      * add documentation for __torch_function__
      
      * fix mypy
      
      * inline check for support
      
      * refactor kernel registering process
      
      * refactor dispatch to be a regular decorator
      
      * split kernels and dispatchers
      
      * remove sentinels
      
      * replace pass with ...
      
      * appease mypy
      
      * make single kernel dispatchers more concise
      
      * make dispatcher signatures more generic
      
      * make kernel checking more strict
      
      * revert doc changes
      
      * address Franciscos comments
      
      * remove inplace
      
      * rename kernel test module
      
      * fix inplace
      
      * remove special casing for pil and vanilla tensors
      
      * address comments
      
      * update docs
      
      * cleanup features / transforms feature branch (#5406)
      
      * mark candidates for removal
      
      * align signature of resize_bounding_box with corresponding image kernel
      
      * fix documentation of Feature
      
      * remove interpolation mode and antialias option from resize_segmentation_mask
      
      * remove or privatize functionality in features / datasets / transforms
      d32bc4ba
  8. 09 Feb, 2022 1 commit
  9. 08 Feb, 2022 4 commits
  10. 03 Feb, 2022 1 commit
  11. 02 Feb, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Implement is_qat in TorchVision (#5299) · 8a16e12f
      Vasilis Vryniotis authored
      * Add is_qat support using a method getter
      
      * Switch to an internal _fuse_modules
      
      * Fix linter.
      
      * Pass is_qat=False on PTQ
      
      * Fix bug on ra_sampler flag.
      
      * Set is_qat=True for QAT
      8a16e12f
  12. 01 Feb, 2022 2 commits
  13. 29 Jan, 2022 1 commit
    • Yiwen Song's avatar
      [ViT] Adding conv_stem support (#5226) · 7d868aa6
      Yiwen Song authored
      * Adding conv_stem support
      
      * fix lint
      
      * bug fix
      
      * address comments
      
      * fix after merge
      
      * adding back checking lines
      
      * fix failing tests
      
      * fix iignore
      
      * add unittest & address comments
      
      * fix memory issue
      
      * address comments
      7d868aa6
  14. 28 Jan, 2022 1 commit
  15. 27 Jan, 2022 3 commits
  16. 26 Jan, 2022 2 commits
  17. 25 Jan, 2022 2 commits
  18. 24 Jan, 2022 6 commits
  19. 23 Jan, 2022 1 commit
  20. 21 Jan, 2022 1 commit
    • Hu Ye's avatar
      add FCOS (#4961) · 7d4bdd43
      Hu Ye authored
      
      
      * add fcos
      
      * update fcos
      
      * add giou_loss
      
      * add BoxLinearCoder for FCOS
      
      * add full code for FCOS
      
      * add giou loss
      
      * add fcos
      
      * add __all__
      
      * Fixing lint
      
      * Fixing lint in giou_loss.py
      
      * Add typing annotation to fcos
      
      * Add trained checkpoints
      
      * Use partial to replace lambda
      
      * Minor fixes to docstrings
      
      * Apply ufmt format
      
      * Fixing docstrings
      
      * Fixing jit scripting
      
      * Minor fixes to docstrings
      
      * Fixing jit scripting
      
      * Ignore mypy in fcos
      
      * Fixing trained checkpoints
      
      * Fixing unit-test of jit script
      
      * Fixing docstrings
      
      * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl
      
      * Fixing test_detection_model_trainable_backbone_layers
      
      * Update test_fcos_resnet50_fpn_expect.pkl
      
      * rename stride to box size
      
      * remove TODO and fix some typo
      
      * merge some code for better
      
      * impove the comments
      
      * remove decode and encode of BoxLinearCoder
      
      * remove some unnecessary hints
      
      * use the default value in detectron2.
      
      * update doc
      
      * Add unittest for BoxLinearCoder
      
      * Add types in FCOS
      
      * Add docstring for BoxLinearCoder
      
      * Minor fix for the docstring
      
      * update doc
      
      * Update fcos_resnet50_fpn_coco pretained weights url
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Add FCOS model documentation
      
      * Fix typo in FCOS documentation
      
      * Add fcos to the prototype builder
      
      * Capitalize COCO_V1
      
      * Fix params of fcos
      
      * fix bug for partial
      
      * Fixing docs indentation
      
      * Fixing docs format in giou_loss
      
      * Adopt Reference for GIoU Loss
      
      * Rename giou_loss to generalized_box_iou_loss
      
      * remove overwrite_eps
      
      * Update AP test values
      
      * Minor fixes for the docs
      
      * Minor fixes for the docs
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      
      * Update torchvision/prototype/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarzhiqiang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <joaopsgomes@gmail.com>
      7d4bdd43
  21. 20 Jan, 2022 5 commits