1. 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
  2. 06 Dec, 2021 1 commit
  3. 12 Nov, 2021 2 commits
  4. 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
  5. 05 Nov, 2021 2 commits
  6. 04 Nov, 2021 2 commits
  7. 03 Nov, 2021 1 commit
  8. 02 Nov, 2021 1 commit
  9. 01 Nov, 2021 2 commits
  10. 28 Oct, 2021 1 commit
  11. 08 Oct, 2021 1 commit
  12. 07 Oct, 2021 1 commit
  13. 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
  14. 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
  15. 01 Oct, 2021 1 commit
  16. 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
  17. 21 Sep, 2021 1 commit
  18. 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
  19. 13 Sep, 2021 1 commit
  20. 07 Sep, 2021 1 commit
  21. 06 Sep, 2021 2 commits
    • Alexander Soare's avatar
      Add FX feature extraction as an alternative to intermediate_layer_getter (#4302) · 72d650ae
      Alexander Soare authored
      
      
      * add fx feature extraction util
      
      * Make it possible to use train and eval mode
      
      * FX feature extraction - Tweaks and small bug fixes
      
      * FX feature extraction - add tests
      
      * move to feature_extraction.py, add LeafModuleAwareTracer, add docs
      
      * Tweaks to docs
      
      * addressing latest round of feedback
      
      * undo line spacing changes
      
      * change type hints in docstrings
      
      * fix sphinx indentation
      
      * expose feature_extraction
      
      * add maskrcnn example
      
      * add api refernce subheading
      
      * address latest review notes, refactor names, fix regex, cosmetics
      
      * Add back efficientnet to models
      
      * fix tests for effnet
      
      * fix linting issue
      
      * fix test tracer kwargs
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      72d650ae
    • SamuelGabriel's avatar
      Integration of TrivialAugment with the current AutoAugment Code (#4221) · 446b2ca5
      SamuelGabriel authored
      
      
      * Initial Proposal
      
      * Tensor Save Test + Test Name Fix
      
      * Formatting + removing unused argument
      
      * fix old argument
      
      * fix isnan check error + indexing error with jit
      
      * Fix Flake8 error.
      
      * Fix MyPy error.
      
      * Fix Flake8 error.
      
      * Fix PyTorch JIT error in UnitTests due to type annotation.
      
      * Fixing tests.
      
      * Removing type ignore.
      
      * Adding support of ta_wide in references.
      
      * Move methods in classes.
      
      * Moving new classes to the bottom.
      
      * Specialize to TA to TAwide
      
      * Add missing type
      
      * Fixing lint
      
      * Fix doc
      
      * Fix search space of TrivialAugment.
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      446b2ca5
  22. 04 Sep, 2021 2 commits
  23. 02 Sep, 2021 1 commit
  24. 31 Aug, 2021 1 commit
  25. 26 Aug, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add EfficientNet Architecture in TorchVision (#4293) · 37a9ee5b
      Vasilis Vryniotis authored
      * Adding code skeleton
      
      * Adding MBConvConfig.
      
      * Extend SqueezeExcitation to support custom min_value and activation.
      
      * Implement MBConv.
      
      * Replace stochastic_depth with operator.
      
      * Adding the rest of the EfficientNet implementation
      
      * Update torchvision/models/efficientnet.py
      
      * Replacing 1st activation of SE with SiLU.
      
      * Adding efficientnet_b3.
      
      * Replace mobilenetv3 assets with custom.
      
      * Switch to standard sigmoid and reconfiguring BN.
      
      * Reconfiguration of efficientnet.
      
      * Add repr
      
      * Add weights.
      
      * Update weights.
      
      * Adding B5-B7 weights.
      
      * Update docs and hubconf.
      
      * Fix doc link.
      
      * Fix typo on comment.
      37a9ee5b
  26. 23 Aug, 2021 1 commit
  27. 20 Aug, 2021 1 commit
  28. 01 Jul, 2021 1 commit
  29. 04 Jun, 2021 2 commits
  30. 22 May, 2021 1 commit
  31. 21 May, 2021 1 commit
  32. 18 May, 2021 1 commit