1. 30 Nov, 2021 2 commits
    • Philip Meier's avatar
      improve COCO prototype (#4650) · 39cf02a6
      Philip Meier authored
      * improve COCO prototype
      
      * test 2017 annotations
      
      * add option to include captions
      
      * fix categories and add tests
      
      * cleanup
      
      * add correct image size to bounding boxes
      
      * fix annotation collation
      
      * appease mypy
      
      * add benchmark
      
      * always use image as reference
      
      * another refactor
      
      * add support for segmentations
      
      * add support for segmentations
      
      * fix CI dependencies
      39cf02a6
    • Vasilis Vryniotis's avatar
      Refactor the `get_weights` API (#5006) · 3d8723d5
      Vasilis Vryniotis authored
      * Change the `default` weights mechanism to sue Enum aliases.
      
      * Change `get_weights` to work with full Enum names and make it public.
      
      * Applying improvements from code review.
      3d8723d5
  2. 29 Nov, 2021 4 commits
  3. 27 Nov, 2021 1 commit
    • Yiwen Song's avatar
      Adding ViT to torchvision/models (#4594) · 47281bbf
      Yiwen Song authored
      
      
      * [vit] Adding ViT to torchvision/models
      
      * adding pre-logits layer + resolving comments
      
      * Fix the model attribute bug
      
      * Change version to arch
      
      * fix failing unittests
      
      * remove useless prints
      
      * reduce input size to fix unittests
      
      * Increase windows-cpu executor to 2xlarge
      
      * Use `batch_first=True` and remove classifier
      
      * Change resource_class back to xlarge
      
      * Remove vit_h_14
      
      * Remove vit_h_14 from __all__
      
      * Move vision_transformer.py into prototype
      
      * Fix formatting issue
      
      * remove arch in builder
      
      * Fix type err in model builder
      
      * address comments and trigger unittests
      
      * remove the prototype import in torchvision.models
      
      * Adding vit back to models to trigger CircleCI test
      
      * fix test_jit_forward_backward
      
      * Move all to prototype.
      
      * Adopt new helper methods and fix prototype tests.
      
      * Remove unused import.
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarVasilis Vryniotis <vvryniotis@fb.com>
      47281bbf
  4. 26 Nov, 2021 1 commit
    • Philip Meier's avatar
      Download model weights in parallel for prototype CI (#4772) · 29f38f17
      Philip Meier authored
      * enable caching of model weights for prototype CI
      
      * syntax
      
      * syntax
      
      * make cache dir dynamic
      
      * increase verbosity
      
      * fix
      
      * use larget CI machine
      
      * revert debug output
      
      * [DEBUG] test env var usage in save_cache
      
      * retry
      
      * use checksum for caching
      
      * remove env vars because expansion is not working
      
      * syntax
      
      * cleanup
      
      * base caching on model-urls
      
      * relax regex
      
      * cleanup skips
      
      * cleanup
      
      * fix skipping logic
      
      * improve step name
      
      * benchmark without caching
      
      * benchmark with external download
      
      * debug
      
      * fix manual download location
      
      * debug again
      
      * download weights in the background
      
      * try parallel download
      
      * add missing import
      
      * use correct decoractor
      
      * up resource_class
      
      * fix wording
      
      * enable stdout passthrough to see download during test
      
      * remove linebreak
      
      * move checkout up
      
      * cleanup
      
      * debug failing test
      
      * temp fix
      
      * fix
      
      * cleanup
      
      * fix regex
      
      * remove explicit install of numpy
      29f38f17
  5. 25 Nov, 2021 1 commit
    • Vasilis Vryniotis's avatar
      More Multiweight support cleanups (#4948) · 18cf5ab1
      Vasilis Vryniotis authored
      * Updated the link for densenet recipe.
      
      * Set default value of `num_classes` and `num_keypoints` to `None`
      
      * Provide helper methods for parameter checks to reduce duplicate code.
      
      * Throw errors on silent config overwrites from weight meta-data and legacy builders.
      
      * Changing order of arguments + fixing mypy.
      
      * Make the builders fully BC.
      
      * Add "default" weights support that returns always the best weights.
      18cf5ab1
  6. 22 Nov, 2021 4 commits
  7. 19 Nov, 2021 1 commit
    • Philip Meier's avatar
      add prototype utilities to read arbitrary numeric binary files (#4882) · 8dcb5b81
      Philip Meier authored
      * add FloReader datapipe
      
      * add NumericBinaryReader
      
      * revert unrelated change
      
      * cleanup
      
      * cleanup
      
      * add comment for byte reversal
      
      * use numpy after all
      
      * appease mypy
      
      * use .astype() with copy=False
      
      * add docstring and cleanuo
      
      * reuse current _read_flo and revert MNIST changes
      
      * cleanup
      
      * revert demonstration
      
      * refactor
      
      * cleanup
      
      * add support for mutable memory
      
      * add test
      
      * add comments
      
      * catch more exceptions
      
      * fix mypy
      
      * fix variable names
      
      * hardcode flow sizes in test
      
      * add fix dtype docstring
      
      * expand comment on different reading modes
      
      * add comment about files in update mode
      
      * add tests for fromfile
      
      * cleanup
      
      * cleanup
      8dcb5b81
  8. 18 Nov, 2021 2 commits
  9. 17 Nov, 2021 1 commit
  10. 12 Nov, 2021 3 commits
  11. 11 Nov, 2021 2 commits
  12. 10 Nov, 2021 3 commits
  13. 09 Nov, 2021 3 commits
  14. 08 Nov, 2021 2 commits
  15. 06 Nov, 2021 1 commit
  16. 05 Nov, 2021 3 commits
  17. 04 Nov, 2021 4 commits
  18. 03 Nov, 2021 2 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