1. 04 Nov, 2021 2 commits
    • Philip Meier's avatar
      add prototype features (#4721) · fe78a8ae
      Philip Meier authored
      * add prototype features
      
      * add some JIT tests
      
      * refactor input data handling
      
      * refactor tests
      
      * cleanup tests
      
      * add BoundingBox feature
      
      * mypy
      
      * xfail torchscript tests for now
      
      * cleanup
      
      * fix imports
      fe78a8ae
    • Philip Meier's avatar
      add tests for prototype builtin datasets (#4682) · 49ec677c
      Philip Meier authored
      * add tests for builtin prototype datasets
      
      * fix caltech101
      
      * fix emnist
      
      * fix mnist and variants
      
      * add iopath as test requirement
      
      * fix MNIST warning
      
      * fix qmnist data generation
      
      * fix cifar data generation
      
      * add tests for imagenet
      
      * cleanup
      49ec677c
  2. 03 Nov, 2021 3 commits
    • Bruno Korbar's avatar
      Fast seek implementation (#3179) · 4ccef06c
      Bruno Korbar authored
      
      
      * modify processPacket to support fast seek
      
      * add fastSeek to ProcessPacket decoder definition
      
      * add fastseek flag to DecoderParametersStruct
      
      * add fastseek flag to the process packet call
      
      * no default params in C++ implementation
      
      * enable flag in C++ implementation
      
      * make order of parameters more normal
      
      * register new seek with python api
      
      * [somewhat broken] test suite for keyframes using pyav
      
      * revert " changes
      
      * add type annotations to init
      
      * Adding tests
      
      * linter
      
      * Flake doesn't show up :|
      
      * Change from unitest to pytest syntax
      
      * add return type
      Co-authored-by: default avatarPrabhat Roy <prabhatroy@fb.com>
      4ccef06c
    • Vasilis Vryniotis's avatar
      Adding multiweight support to Quantized GoogLeNet (#4848) · b43353e8
      Vasilis Vryniotis authored
      * Reordering the builders to use proper typing.
      
      * Adding additional meta-data on existing quantized models.
      
      * Fixing meta on unquantized model.
      
      * Adding quantized googlenet builder.
      
      * undo inception move.
      
      * Adding recipe information.
      b43353e8
    • Vasilis Vryniotis's avatar
      Adding multiweight support to FasterRCNN (#4847) · dd1adb07
      Vasilis Vryniotis authored
      * Aligning exception with all other models.
      
      * Adding prototype preprocessing on video references.
      
      * Adding the rest of model builders on faster_rcnn.
      dd1adb07
  3. 02 Nov, 2021 1 commit
  4. 31 Oct, 2021 1 commit
  5. 28 Oct, 2021 3 commits
  6. 27 Oct, 2021 8 commits
  7. 26 Oct, 2021 2 commits
  8. 25 Oct, 2021 2 commits
  9. 22 Oct, 2021 1 commit
    • Vasilis Vryniotis's avatar
      Additional SOTA ingredients on Classification Recipe (#4493) · b280c318
      Vasilis Vryniotis authored
      * Update EMA every X iters.
      
      * Adding AdamW optimizer.
      
      * Adjusting EMA decay scheme.
      
      * Support custom weight decay for Normalization layers.
      
      * Fix identation bug.
      
      * Change EMA adjustment.
      
      * Quality of life changes to faciliate testing
      
      * ufmt format
      
      * Fixing imports.
      
      * Adding FixRes improvement.
      
      * Support EMA in store_model_weights.
      
      * Adding interpolation values.
      
      * Change train_crop_size.
      
      * Add interpolation option.
      
      * Removing hardcoded interpolation and sizes from the scripts.
      
      * Fixing linter.
      
      * Incorporating feedback from code review.
      b280c318
  10. 21 Oct, 2021 2 commits
  11. 20 Oct, 2021 3 commits
  12. 19 Oct, 2021 1 commit
  13. 18 Oct, 2021 1 commit
  14. 13 Oct, 2021 1 commit
  15. 08 Oct, 2021 1 commit
  16. 05 Oct, 2021 1 commit
  17. 04 Oct, 2021 2 commits
    • Nicolas Hug's avatar
      Fix all outstanding flake8 issues (#4535) · b81d189d
      Nicolas Hug authored
      b81d189d
    • 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
  18. 01 Oct, 2021 1 commit
  19. 29 Sep, 2021 3 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
    • Nicolas Hug's avatar
      Prevent tests from leaking their respective RNG (#4497) · 13bd09dd
      Nicolas Hug authored
      
      
      * Add autouse fixture to save and reset RNG in tests
      
      * Add other RNG generators
      
      * delete freeze_rng_state
      
      * Hopefully fix GaussianBlur test
      
      * Alternative fix, probably better
      
      * revert changes to test_models
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      13bd09dd
    • Aditya Oke's avatar
      Add JIT tests (#4472) · b5d81f02
      Aditya Oke authored
      
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      b5d81f02
  20. 27 Sep, 2021 1 commit
    • Loi Ly's avatar
      Added gray image support to `adjust_saturation` function (#4480) · f483e71b
      Loi Ly authored
      * update channels parameter to every calling to check_functional_vs_PIL_vs_scripted
      
      * update adjust_saturation
      
      * update docstrings for functional transformations
      
      * parametrize channels
      
      * update docstring of ColorJitter class
      
      * move channels to class's parameter
      
      * remove testing channels for geometric transforms
      
      * revert redundant changes
      
      * revert redundant changes
      
      * update grayscale test cases for randaugment, autoaugment, trivialaugment
      
      * update docstrings of randaugment, autoaugment, trivialaugment
      
      * update docstring of ColorJitter
      
      * fix adjust_hue's docstring
      
      * change test equal tolerance
      
      * refactor grayscale tests
      
      * make get_grayscale_test_image private
      f483e71b