1. 01 Nov, 2021 1 commit
  2. 28 Oct, 2021 1 commit
  3. 08 Oct, 2021 1 commit
  4. 07 Oct, 2021 1 commit
  5. 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
  6. 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
  7. 01 Oct, 2021 1 commit
  8. 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
  9. 21 Sep, 2021 1 commit
  10. 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
  11. 13 Sep, 2021 1 commit
  12. 07 Sep, 2021 1 commit
  13. 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
  14. 04 Sep, 2021 2 commits
  15. 02 Sep, 2021 1 commit
  16. 01 Sep, 2021 1 commit
  17. 31 Aug, 2021 1 commit
  18. 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
  19. 23 Aug, 2021 1 commit
  20. 20 Aug, 2021 1 commit
  21. 01 Jul, 2021 1 commit
  22. 04 Jun, 2021 2 commits
  23. 22 May, 2021 1 commit
  24. 21 May, 2021 1 commit
  25. 18 May, 2021 1 commit
  26. 17 May, 2021 1 commit
  27. 15 May, 2021 1 commit
  28. 14 May, 2021 1 commit
  29. 12 May, 2021 1 commit
  30. 11 May, 2021 3 commits
  31. 10 May, 2021 1 commit
  32. 07 May, 2021 1 commit
  33. 30 Apr, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Add SSD architecture with VGG16 backbone (#3403) · 730c5e1e
      Vasilis Vryniotis authored
      * Early skeleton of API.
      
      * Adding MultiFeatureMap and vgg16 backbone.
      
      * Making vgg16 backbone same as paper.
      
      * Making code generic to support all vggs.
      
      * Moving vgg's extra layers a separate class + L2 scaling.
      
      * Adding header vgg layers.
      
      * Fix maxpool patching.
      
      * Refactoring code to allow for support of different backbones & sizes:
      - Skeleton for Default Boxes generator class
      - Dynamic estimation of configuration when possible
      - Addition of types
      
      * Complete the implementation of DefaultBox generator.
      
      * Replace randn with empty.
      
      * Minor refactoring
      
      * Making clamping between 0 and 1 optional.
      
      * Change xywh to xyxy encoding.
      
      * Adding parameters and reusing objects in constructor.
      
      * Temporarily inherit from Retina to avoid dup code.
      
      * Implement forward methods + temp workarounds to inherit from retina.
      
      * Inherit more methods from retinanet.
      
      * Fix type error.
      
      * Add Regression loss.
      
      * Fixing JIT issues.
      
      * Change JIT workaround to minimize new code.
      
      * Fixing initialization bug.
      
      * Add classification loss.
      
      * Update todos.
      
      * Add weight loading support.
      
      * Support SSD512.
      
      * Change kernel_size to get output size 1x1
      
      * Add xavier init and refactoring.
      
      * Adding unit-tests and fixing JIT issues.
      
      * Add a test for dbox generator.
      
      * Remove unnecessary import.
      
      * Workaround on GeneralizedRCNNTransform to support fixed size input.
      
      * Remove unnecessary random calls from the test.
      
      * Remove more rand calls from the test.
      
      * change mapping and handling of empty labels
      
      * Fix JIT warnings.
      
      * Speed up loss.
      
      * Convert 0-1 dboxes to original size.
      
      * Fix warning.
      
      * Fix tests.
      
      * Update comments.
      
      * Fixing minor bugs.
      
      * Introduce a custom DBoxMatcher.
      
      * Minor refactoring
      
      * Move extra layer definition inside feature extractor.
      
      * handle no bias on init.
      
      * Remove fixed image size limitation
      
      * Change initialization values for bias of classification head.
      
      * Refactoring and update test file.
      
      * Adding ResNet backbone.
      
      * Minor refactoring.
      
      * Remove inheritance of retina and general refactoring.
      
      * SSD should fix the input size.
      
      * Fixing messages and comments.
      
      * Silently ignoring exception if test-only.
      
      * Update comments.
      
      * Update regression loss.
      
      * Restore Xavier init everywhere, update the negative sampling method, change the clipping approach.
      
      * Fixing tests.
      
      * Refactor to move the losses from the Head to the SSD.
      
      * Removing resnet50 ssd version.
      
      * Adding support for best performing backbone and its config.
      
      * Refactor and clean up the API.
      
      * Fix lint
      
      * Update todos and comments.
      
      * Adding RandomHorizontalFlip and RandomIoUCrop transforms.
      
      * Adding necessary checks to our tranforms.
      
      * Adding RandomZoomOut.
      
      * Adding RandomPhotometricDistort.
      
      * Moving Detection transforms to references.
      
      * Update presets
      
      * fix lint
      
      * leave compose and object
      
      * Adding scaling for completeness.
      
      * Adding params in the repr
      
      * Remove unnecessary import.
      
      * minor refactoring
      
      * Remove unnecessary call.
      
      * Give better names to DBox* classes
      
      * Port num_anchors estimation in generator
      
      * Remove rescaling and fix presets
      
      * Add the ability to pass a custom head and refactoring.
      
      * fix lint
      
      * Fix unit-test
      
      * Update todos.
      
      * Change mean values.
      
      * Change the default parameter of SSD to train the full VGG16 and remove the catch of exception for eval only.
      
      * Adding documentation
      
      * Adding weights and updating readmes.
      
      * Update the model weights with a more performing model.
      
      * Adding doc for head.
      
      * Restore import.
      730c5e1e
  34. 28 Apr, 2021 1 commit