1. 20 Jan, 2022 2 commits
    • Vasilis Vryniotis's avatar
      Adding ConvNeXt architecture in prototype (#5197) · afda28ac
      Vasilis Vryniotis authored
      * Adding CNBlock and skeleton architecture
      
      * Completed implementation.
      
      * Adding model in prototypes.
      
      * Add test and minor refactor for JIT.
      
      * Fix mypy.
      
      * Fixing naming conventions.
      
      * Fixing tests.
      
      * Fix stochastic depth percentages.
      
      * Adding stochastic depth to tiny variant.
      
      * Minor refactoring and adding comments.
      
      * Adding weights.
      
      * Update default weights.
      
      * Fix transforms issue
      
      * Move convnext to prototype.
      
      * linter fix
      
      * fix docs
      
      * Addressing code review comments.
      afda28ac
    • Joao Gomes's avatar
      Add support for Rendered sst2 dataset (#5220) · e32b19e1
      Joao Gomes authored
      
      
      * Adding multiweight support for shufflenetv2 prototype models
      
      * Revert "Adding multiweight support for shufflenetv2 prototype models"
      
      This reverts commit 31fadbee7d1a65cd73ae43dfd4ac6e97e7ca7b01.
      
      * Adding multiweight support for shufflenetv2 prototype models
      
      * Revert "Adding multiweight support for shufflenetv2 prototype models"
      
      This reverts commit 4e3d900f796c1e3e667312087e77956ca4a4c017.
      
      * Add RenderedSST2 dataset
      
      * Address PR comments
      
      * Fix bug in dataset verification
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      e32b19e1
  2. 19 Jan, 2022 1 commit
  3. 18 Jan, 2022 3 commits
    • Nicolas Hug's avatar
      Change order of sections in toctree (#5195) · bf073e78
      Nicolas Hug authored
      bf073e78
    • 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
  4. 17 Jan, 2022 1 commit
  5. 14 Jan, 2022 1 commit
  6. 13 Jan, 2022 1 commit
  7. 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
  8. 10 Jan, 2022 2 commits
    • Yiwen Song's avatar
      [ViT] Graduate ViT from prototype (#5173) · 68f511eb
      Yiwen Song authored
      * graduate vit from prototype
      
      * nit
      
      * add vit to docs and hubconf
      
      * ufmt
      
      * re-correct ufmt
      
      * again
      
      * fix linter
      68f511eb
    • 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
  9. 07 Jan, 2022 1 commit
  10. 06 Jan, 2022 2 commits
    • Philip Meier's avatar
      OxfordIIITPet dataset (#5116) · 058f4bd7
      Philip Meier authored
      * add prototype dataset for oxford-iiit-pet
      
      * add old-style dataset
      
      * add tests
      
      * fix mypy
      
      * fix test
      
      * remove properties and use pathlib
      
      * target_type to target_types
      
      * move target annotation
      
      * add docstring
      
      * fix test
      058f4bd7
    • Sumukh Aithal's avatar
      Add GTSRB dataset (#5117) · 7120024d
      Sumukh Aithal authored
      
      
      * Added GTSRB dataset
      
      * Added unittest for GTSRB dataset
      
      * Apply suggestions from code review
      
      * More changes from code review
      
      * readd accidental removed line
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      7120024d
  11. 05 Jan, 2022 2 commits
  12. 22 Dec, 2021 1 commit
    • Joao Gomes's avatar
      Food 101 dataset (#5119) · 65676b4b
      Joao Gomes authored
      
      
      * Adding multiweight support for shufflenetv2 prototype models
      
      * Revert "Adding multiweight support for shufflenetv2 prototype models"
      
      This reverts commit 31fadbee7d1a65cd73ae43dfd4ac6e97e7ca7b01.
      
      * Adding multiweight support for shufflenetv2 prototype models
      
      * Revert "Adding multiweight support for shufflenetv2 prototype models"
      
      This reverts commit 4e3d900f796c1e3e667312087e77956ca4a4c017.
      
      * Add Food101 Dataset
      
      Addresses #5108.
      cc @pmeier @NicolasHug
      
      * Remove unecessary Path contructor calls
      
      * Remove unecessary Path contructor callsi and fix types
      
      * Fix tests
      
      * Address PR comments from @pmeier
      
      * Fix bug in tests and in food101 dataset
      
      * Fix bug in tests and in food101 dataset
      
      * Update torchvision/datasets/food101.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      65676b4b
  13. 06 Dec, 2021 1 commit
  14. 12 Nov, 2021 2 commits
  15. 09 Nov, 2021 1 commit
    • Aditya Oke's avatar
      Add utility to draw keypoints (#4216) · a4ca717f
      Aditya Oke authored
      * fix
      
      * Outline Keypoints API
      
      * Add utility
      
      * make it work :)
      
      * Fix optional type
      
      * Add connectivity, fmassa's advice 😃
      
      
      
      * Minor code improvement
      
      * small fix
      
      * fix implementation
      
      * Add tests
      
      * Fix tests
      
      * Update colors
      
      * Fix bug and test more robustly
      
      * Add a comment, merge stuff
      
      * Fix fmt
      
      * Support single str for merging
      
      * Remove unnecessary vars.
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      a4ca717f
  16. 05 Nov, 2021 2 commits
  17. 04 Nov, 2021 2 commits
  18. 03 Nov, 2021 1 commit
  19. 02 Nov, 2021 1 commit
  20. 01 Nov, 2021 2 commits
  21. 28 Oct, 2021 1 commit
  22. 08 Oct, 2021 1 commit
  23. 07 Oct, 2021 1 commit
  24. 05 Oct, 2021 1 commit
    • Kai Zhang's avatar
      Update Regnet model weights (#4530) · 0c0a6a44
      Kai Zhang authored
      * add best weights and x_1_6, x_3_2, y_1_6, y_3_2, y_32 weights
      
      * add best weights and x_1_6, x_3_2, y_1_6, y_3_2, y_32 weights
      
      * add weights for x_16gf, x_32gf, y_16gf
      0c0a6a44
  25. 04 Oct, 2021 1 commit
    • Philip Meier's avatar
      Add ufmt (usort + black) as code formatter (#4384) · 5f0edb97
      Philip Meier authored
      
      
      * add ufmt as code formatter
      
      * cleanup
      
      * quote ufmt requirement
      
      * split imports into more groups
      
      * regenerate circleci config
      
      * fix CI
      
      * clarify local testing utils section
      
      * use ufmt pre-commit hook
      
      * split relative imports into local category
      
      * Revert "split relative imports into local category"
      
      This reverts commit f2e224cde2008c56c9347c1f69746d39065cdd51.
      
      * pin black and usort dependencies
      
      * fix local test utils detection
      
      * fix ufmt rev
      
      * add reference utils to local category
      
      * fix usort config
      
      * remove custom categories sorting
      
      * Run pre-commit without fixing flake8
      
      * got a double import in merge
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      5f0edb97
  26. 01 Oct, 2021 1 commit
  27. 29 Sep, 2021 2 commits
    • Kai Zhang's avatar
      Add RegNet Architecture in TorchVision (#4403) · 194a0846
      Kai Zhang authored
      * initial code
      
      * add SqueezeExcitation
      
      * initial code
      
      * add SqueezeExcitation
      
      * add SqueezeExcitation
      
      * regnet blocks, stems and model definition
      
      * nit
      
      * add fc layer
      
      * use Callable instead of Enum for block, stem and activation
      
      * add regnet_x and regnet_y model build functions, add docs
      
      * remove unused depth
      
      * use BN/activation constructor and ConvBNActivation
      
      * add expected test pkl files
      
      * allow custom activation in SqueezeExcitation
      
      * use ReLU as the default activation
      
      * initial code
      
      * add SqueezeExcitation
      
      * initial code
      
      * add SqueezeExcitation
      
      * add SqueezeExcitation
      
      * regnet blocks, stems and model definition
      
      * nit
      
      * add fc layer
      
      * use Callable instead of Enum for block, stem and activation
      
      * add regnet_x and regnet_y model build functions, add docs
      
      * remove unused depth
      
      * use BN/activation constructor and ConvBNActivation
      
      * reuse SqueezeExcitation from efficientnet
      
      * refactor RegNetParams into BlockParams
      
      * use nn.init, replace np with torch
      
      * update README
      
      * construct model with stem, block, classifier instances
      
      * Revert "construct model with stem, block, classifier instances"
      
      This reverts commit 850f5f3ed01a2a9b36fcbf8405afd6e41d2e58ef.
      
      * remove unused blocks
      
      * support scaled model
      
      * fuse into ConvBNActivation
      
      * make reset_parameters private
      
      * fix type errors
      
      * fix for unit test
      
      * add pretrained weights for 6 variant models, update docs
      194a0846
    • Aditya Oke's avatar
      Rewrite gallery example for masks to boxes. (#4484) · a9d710a8
      Aditya Oke authored
      
      
      * start writing example
      
      * Update example
      
      * Add PenFudan Files
      
      * Update example
      
      * Remove unused files
      
      * Update file and adopt changes
      
      * Create links, fix float
      Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
      a9d710a8
  28. 21 Sep, 2021 1 commit
  29. 14 Sep, 2021 1 commit
    • Muhammed Abdullah's avatar
      Added LFW Dataset (#4255) · d85aa6d3
      Muhammed Abdullah authored
      
      
      * Added LFW Dataset
      
      * Added dataset to list in __init__.py
      
      * Updated lfw.py
      * Created a common superclass for people and pairs type datatsets
      * corrected the .download() method
      
      * Added docstrings and updated datasets.rst
      
      * Wrote tests for LFWPeople and LFWPairs
      
      * Resolved mypy error: Need type annotation for "data"
      
      * Updated inject_fake_data method for LFWPeople
      
      * Updated tests for LFW
      
      * Updated LFW tests and minor changes in lfw.py
      
      * Updated LFW
      * Added functionality for 10-fold validation view
      * Optimized the code so to replace repeated lines by method in super
        class
      * Updated LFWPeople to get classes from all lfw-names.txt rather than
        just the classes fron trainset
      
      * Updated lfw.py and tests
      * Updated inject_fake_data method to create 10fold fake data
      * Minor changes in docstring and extra_repr
      
      * resolved py lint errors
      
      * Added checksums for annotation files
      
      * Minor changes in test
      
      * Updated docstrings, defaults and minor changes in test
      
      * Removed 'os.path.exists' check
      Co-authored-by: default avatarABD-01 <myac931@gmai.com>
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      d85aa6d3