1. 01 Feb, 2022 1 commit
    • Vasilis Vryniotis's avatar
      Adding more ConvNeXt variants + Speed optimizations (#5253) · 82929ae1
      Vasilis Vryniotis authored
      * Refactor model builder
      
      * Add 3 more convnext variants.
      
      * Adding weights for convnext_small.
      
      * Fix minor bug.
      
      * Fix number of parameters for small model.
      
      * Adding weights for the base variant.
      
      * Adding weights for the large variant.
      
      * Simplify LayerNorm2d implementation.
      
      * Optimize speed of CNBlock.
      
      * Repackage weights.
      82929ae1
  2. 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
  3. 28 Jan, 2022 1 commit
  4. 27 Jan, 2022 3 commits
  5. 26 Jan, 2022 2 commits
  6. 25 Jan, 2022 2 commits
  7. 24 Jan, 2022 6 commits
  8. 23 Jan, 2022 1 commit
  9. 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
  10. 20 Jan, 2022 8 commits
  11. 19 Jan, 2022 5 commits
    • Yiwen Song's avatar
      Adding vit_h_14 architecture (#5210) · 03d11338
      Yiwen Song authored
      * adding vit_h_14
      
      * prototype and docs
      
      * bug fix
      
      * adding curl check
      03d11338
    • Philip Meier's avatar
      fix and add test for sequence_to_str (#5213) · abc6c778
      Philip Meier authored
      * fix and add test for sequence_to_str
      
      * remove manual ids
      abc6c778
    • Philip Meier's avatar
      remove get_bool_env_var (#5222) · afdf1261
      Philip Meier authored
      afdf1261
    • Prabhat Roy's avatar
      Return RGB frames as output of GPU decoder (#5191) · f4fd1933
      Prabhat Roy authored
      * Return RGB frames as output of GPU decoder
      
      * Move clamp to the conversion function
      
      * Cleaned up a bit
      
      * Remove utility functions from test
      
      * Use data member width directly
      
      * Fix linter error
      f4fd1933
    • Philip Meier's avatar
      Expand tests for prototype datasets (#5187) · 3e4d062c
      Philip Meier authored
      * refactor prototype datasets tests
      
      * skip tests with insufficient third party dependencies
      
      * cleanup
      
      * add tests for SBD prototype dataset
      
      * add tests for SEMEION prototype dataset
      
      * add tests for VOC prototype dataset
      
      * add tests for CelebA prototype dataset
      
      * add tests for DTD prototype dataset
      
      * add tests for FER2013 prototype dataset
      
      * add tests for CLEVR prototype dataset
      
      * add tests for oxford-iiit-pet prototype dataset
      
      * enforce tests for new datasets
      
      * add missing archive generation for oxford-iiit-pet tests
      
      * add tests for CUB200 prototype datasets
      
      * fix split generation
      
      * add capability to mark parametrization and xfail cub200 traverse tests
      3e4d062c
  12. 18 Jan, 2022 2 commits
    • Abhijit Deo's avatar
      Add support for Stanford cars dataset (#5166) · 8ba482a6
      Abhijit Deo authored
      
      
      * [WIP]
      *added stanford_cars
      
      * [WIP]
      added stanfordCars to docs
      
      * [WIP]
      minor edits
      
      * [WIP]
      minor edits
      
      * edited StanfordCars class
      
      * Adding Testcase for stanford cars
      
      * Added Testcase for stanford cars
      
      * Added Testcase for stanford cars
      
      * minor edit
      
      * made changes as per the suggestions
      
      * fixed typo in naming stanford_cars.py
      
      * cars_meta.mat file will be created in test
      
      * Some cleanups
      
      * Sigh
      
      * don't convert to strings
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      8ba482a6
    • F-G Fernandez's avatar
      Adds support for EuroSAT dataset (#5114) · 57a77c45
      F-G Fernandez authored
      
      
      * feat: Added EuroSAT dataset
      
      * test: Added unittest
      
      * docs: Improved comments
      
      * docs: Updated the documentation
      
      * docs: Removed unnecessary comments
      
      * fix: Fixed class implementation
      
      * test: Fixed unittest
      
      * fix: Fixed magic method len
      
      * test: Fixed unittest
      
      * refactor: Refactored EuroSAT
      
      * refactor: Applied modifications
      
      * Apply suggestions from code review
      
      * refactor: Applied request changes
      
      * refactor: Made var explicit
      
      * fix: Fixed attribute initialization order
      
      * refactor: Removed name mapping
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      57a77c45
  13. 17 Jan, 2022 2 commits
  14. 14 Jan, 2022 1 commit
  15. 13 Jan, 2022 1 commit
  16. 12 Jan, 2022 1 commit
    • Zhiqiang Wang's avatar
      Add Flowers102 dataset (#5177) · a8f2dedb
      Zhiqiang Wang authored
      
      
      * Add Flowers102 datasets
      
      * Fix initialization of images and labels
      
      * Fix _check_exists in Flowers102
      
      * Add Flowers102 to datasets and docs
      
      * Add Flowers102TestCase to unittest
      
      * Fixing Python type statically
      
      * Shuffle the fake labels
      
      * Update test/test_datasets.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Apply the suggestions by pmeier
      
      * Use check_integrity to check file existence
      
      * Save the labels to base_folder
      
      * Minor fixes
      
      * Using a loop makes this more concise without reducing readability
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Using a loop makes this more concise without reducing readability
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Remove self.labels and self.label_to_index attributes
      
      * minor simplification
      
      * Check the exitence of image folder
      
      * Revert the check
      
      * Check the existence of image folder
      
      * valid -> val
      
      * keep some stuff private
      
      * minor doc arrangements
      
      * remove default FEATURE_TYPES
      
      * Simplify the datasets existence
      
      * check if the image folder exists
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * isdir -> is_dir
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      a8f2dedb
  17. 10 Jan, 2022 1 commit
    • puhuk's avatar
      Add Country dataset (#5138) · ffd0d237
      puhuk authored
      
      
      * Add Country211 dataset
      
      To addresses issue #5108.
      
      * Add Country211 dataset
      
      To addresses issue #5108.
      
      * Update country211.py
      
      * Update country211.py
      
      * Code review reflected
      
      Reflect code review
      
      * Update test_datasets.py
      
      * Update with review
      
      Update with review
      
      * inherit from ImageFolder
      
      * Update test/test_datasets.py
      
      * Docstring + minor test update
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      ffd0d237
  18. 07 Jan, 2022 1 commit