1. 06 Jan, 2022 4 commits
  2. 05 Jan, 2022 2 commits
  3. 30 Dec, 2021 1 commit
    • Prabhat Roy's avatar
      Add video GPU decoder (#5019) · 64d21d12
      Prabhat Roy authored
      
      
      * [WIP] Add video GPU decoder
      
      * Expose use_dev_frame to python class and handle it internally
      
      * Fixed invalid argument CUDA error
      
      * Fixed empty and missing frames
      
      * Free remaining frames in the queue
      
      * Added nv12 to yuv420 conversion support for host frames
      
      * Added unit test and cleaned up code
      
      * Use CUDA_HOME inside if
      
      * Undo commented out code
      
      * Add Readme
      
      * Remove output_format and use_device_frame optional arguments from the VideoReader API
      
      * Cleaned up init()
      
      * Fix warnings
      
      * Fix python linter errors
      
      * Fix linter issues in setup.py
      
      * clang-format
      
      * Make reformat private
      
      * Member function naming
      
      * Add comments
      
      * Variable renaming
      
      * Code cleanup
      
      * Make return type of decode() void
      
      * Replace printing errors with throwing runtime_error
      
      * Replaced runtime_error with TORCH_CHECK in demuxer.h
      
      * Use CUDAGuard instead of cudaSetDevice
      
      * Remove printf
      
      * Use Tensor instead of uint8* and remove cuMemAlloc/cuMemFree
      
      * Use TORCH_CHECK instead of runtime_error
      
      * Use TORCHVISION_INCLUDE and TORCHVISION_LIBRARY to pass video codec location
      
      * Include ffmpeg_include_dir
      
      * Remove space
      
      * Removed use of runtime_error
      
      * Update Readme
      
      * Check for bsf.h
      
      * Change struct initialisation style
      
      * Clean-up get_operating_point
      
      * Make variable naming convention uniform
      
      * Move checking for bsf.h around
      
      * Fix linter error
      Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
      64d21d12
  4. 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
  5. 16 Dec, 2021 1 commit
  6. 14 Dec, 2021 1 commit
  7. 08 Dec, 2021 5 commits
  8. 07 Dec, 2021 1 commit
    • Philip Meier's avatar
      simplify model builders (#5001) · 588e9b5e
      Philip Meier authored
      
      
      * simplify model builders
      
      * cleanup
      
      * refactor kwonly to pos or kw handling
      
      * put weight verification back
      
      * revert num categories checks
      
      * fix default weights
      
      * cleanup
      
      * remove manual parameter map
      
      * refactor decorator interface
      
      * address review comments
      
      * cleanup
      
      * refactor callable default
      
      * fix type annotation
      
      * process ungrouped models
      
      * cleanup
      
      * mroe cleanup
      
      * use decorator for detection models
      
      * add decorator for quantization models
      
      * add decorator for segmentation  models
      
      * add decorator for video  models
      
      * remove old helpers
      
      * fix resnet50
      
      * Adding verification back on InceptionV3
      
      * Add kwargs in DeeplabeV3
      
      * Add kwargs on FCN
      
      * Fix typing on Deeplab
      
      * Fix typing on FCN
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      588e9b5e
  9. 06 Dec, 2021 1 commit
  10. 05 Dec, 2021 1 commit
  11. 30 Nov, 2021 3 commits
    • Joao Gomes's avatar
      Feature extraction default arguments - ops (#4810) · a7a36756
      Joao Gomes authored
      making torchvision ops leaf nodes by default
      a7a36756
    • 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
  12. 29 Nov, 2021 4 commits
  13. 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
  14. 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
  15. 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
  16. 22 Nov, 2021 4 commits
  17. 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
  18. 18 Nov, 2021 2 commits
  19. 17 Nov, 2021 1 commit
  20. 12 Nov, 2021 3 commits
  21. 11 Nov, 2021 1 commit