1. 24 Jan, 2022 4 commits
  2. 23 Jan, 2022 1 commit
  3. 21 Jan, 2022 1 commit
    • Hu Ye's avatar
      add FCOS (#4961) · 7d4bdd43
      Hu Ye authored
      
      
      * add fcos
      
      * update fcos
      
      * add giou_loss
      
      * add BoxLinearCoder for FCOS
      
      * add full code for FCOS
      
      * add giou loss
      
      * add fcos
      
      * add __all__
      
      * Fixing lint
      
      * Fixing lint in giou_loss.py
      
      * Add typing annotation to fcos
      
      * Add trained checkpoints
      
      * Use partial to replace lambda
      
      * Minor fixes to docstrings
      
      * Apply ufmt format
      
      * Fixing docstrings
      
      * Fixing jit scripting
      
      * Minor fixes to docstrings
      
      * Fixing jit scripting
      
      * Ignore mypy in fcos
      
      * Fixing trained checkpoints
      
      * Fixing unit-test of jit script
      
      * Fixing docstrings
      
      * Add test/expect/ModelTester.test_fcos_resnet50_fpn_expect.pkl
      
      * Fixing test_detection_model_trainable_backbone_layers
      
      * Update test_fcos_resnet50_fpn_expect.pkl
      
      * rename stride to box size
      
      * remove TODO and fix some typo
      
      * merge some code for better
      
      * impove the comments
      
      * remove decode and encode of BoxLinearCoder
      
      * remove some unnecessary hints
      
      * use the default value in detectron2.
      
      * update doc
      
      * Add unittest for BoxLinearCoder
      
      * Add types in FCOS
      
      * Add docstring for BoxLinearCoder
      
      * Minor fix for the docstring
      
      * update doc
      
      * Update fcos_resnet50_fpn_coco pretained weights url
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      
      * Add FCOS model documentation
      
      * Fix typo in FCOS documentation
      
      * Add fcos to the prototype builder
      
      * Capitalize COCO_V1
      
      * Fix params of fcos
      
      * fix bug for partial
      
      * Fixing docs indentation
      
      * Fixing docs format in giou_loss
      
      * Adopt Reference for GIoU Loss
      
      * Rename giou_loss to generalized_box_iou_loss
      
      * remove overwrite_eps
      
      * Update AP test values
      
      * Minor fixes for the docs
      
      * Minor fixes for the docs
      
      * Update torchvision/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      
      * Update torchvision/prototype/models/detection/fcos.py
      Co-authored-by: default avatarZhiqiang Wang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarzhiqiang <zhiqwang@foxmail.com>
      Co-authored-by: default avatarJoao Gomes <jdsgomes@fb.com>
      Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
      Co-authored-by: default avatarJoao Gomes <joaopsgomes@gmail.com>
      7d4bdd43
  4. 20 Jan, 2022 8 commits
  5. 19 Jan, 2022 5 commits
    • Yiwen Song's avatar
      Adding vit_h_14 architecture (#5210) · 03d11338
      Yiwen Song authored
      * adding vit_h_14
      
      * prototype and docs
      
      * bug fix
      
      * adding curl check
      03d11338
    • Philip Meier's avatar
      fix and add test for sequence_to_str (#5213) · abc6c778
      Philip Meier authored
      * fix and add test for sequence_to_str
      
      * remove manual ids
      abc6c778
    • Philip Meier's avatar
      remove get_bool_env_var (#5222) · afdf1261
      Philip Meier authored
      afdf1261
    • Prabhat Roy's avatar
      Return RGB frames as output of GPU decoder (#5191) · f4fd1933
      Prabhat Roy authored
      * Return RGB frames as output of GPU decoder
      
      * Move clamp to the conversion function
      
      * Cleaned up a bit
      
      * Remove utility functions from test
      
      * Use data member width directly
      
      * Fix linter error
      f4fd1933
    • Philip Meier's avatar
      Expand tests for prototype datasets (#5187) · 3e4d062c
      Philip Meier authored
      * refactor prototype datasets tests
      
      * skip tests with insufficient third party dependencies
      
      * cleanup
      
      * add tests for SBD prototype dataset
      
      * add tests for SEMEION prototype dataset
      
      * add tests for VOC prototype dataset
      
      * add tests for CelebA prototype dataset
      
      * add tests for DTD prototype dataset
      
      * add tests for FER2013 prototype dataset
      
      * add tests for CLEVR prototype dataset
      
      * add tests for oxford-iiit-pet prototype dataset
      
      * enforce tests for new datasets
      
      * add missing archive generation for oxford-iiit-pet tests
      
      * add tests for CUB200 prototype datasets
      
      * fix split generation
      
      * add capability to mark parametrization and xfail cub200 traverse tests
      3e4d062c
  6. 18 Jan, 2022 2 commits
    • Abhijit Deo's avatar
      Add support for Stanford cars dataset (#5166) · 8ba482a6
      Abhijit Deo authored
      
      
      * [WIP]
      *added stanford_cars
      
      * [WIP]
      added stanfordCars to docs
      
      * [WIP]
      minor edits
      
      * [WIP]
      minor edits
      
      * edited StanfordCars class
      
      * Adding Testcase for stanford cars
      
      * Added Testcase for stanford cars
      
      * Added Testcase for stanford cars
      
      * minor edit
      
      * made changes as per the suggestions
      
      * fixed typo in naming stanford_cars.py
      
      * cars_meta.mat file will be created in test
      
      * Some cleanups
      
      * Sigh
      
      * don't convert to strings
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      8ba482a6
    • F-G Fernandez's avatar
      Adds support for EuroSAT dataset (#5114) · 57a77c45
      F-G Fernandez authored
      
      
      * feat: Added EuroSAT dataset
      
      * test: Added unittest
      
      * docs: Improved comments
      
      * docs: Updated the documentation
      
      * docs: Removed unnecessary comments
      
      * fix: Fixed class implementation
      
      * test: Fixed unittest
      
      * fix: Fixed magic method len
      
      * test: Fixed unittest
      
      * refactor: Refactored EuroSAT
      
      * refactor: Applied modifications
      
      * Apply suggestions from code review
      
      * refactor: Applied request changes
      
      * refactor: Made var explicit
      
      * fix: Fixed attribute initialization order
      
      * refactor: Removed name mapping
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      57a77c45
  7. 17 Jan, 2022 2 commits
  8. 14 Jan, 2022 1 commit
  9. 13 Jan, 2022 1 commit
  10. 12 Jan, 2022 1 commit
    • Zhiqiang Wang's avatar
      Add Flowers102 dataset (#5177) · a8f2dedb
      Zhiqiang Wang authored
      
      
      * Add Flowers102 datasets
      
      * Fix initialization of images and labels
      
      * Fix _check_exists in Flowers102
      
      * Add Flowers102 to datasets and docs
      
      * Add Flowers102TestCase to unittest
      
      * Fixing Python type statically
      
      * Shuffle the fake labels
      
      * Update test/test_datasets.py
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Apply the suggestions by pmeier
      
      * Use check_integrity to check file existence
      
      * Save the labels to base_folder
      
      * Minor fixes
      
      * Using a loop makes this more concise without reducing readability
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Using a loop makes this more concise without reducing readability
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * Remove self.labels and self.label_to_index attributes
      
      * minor simplification
      
      * Check the exitence of image folder
      
      * Revert the check
      
      * Check the existence of image folder
      
      * valid -> val
      
      * keep some stuff private
      
      * minor doc arrangements
      
      * remove default FEATURE_TYPES
      
      * Simplify the datasets existence
      
      * check if the image folder exists
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      
      * isdir -> is_dir
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      a8f2dedb
  11. 10 Jan, 2022 1 commit
    • puhuk's avatar
      Add Country dataset (#5138) · ffd0d237
      puhuk authored
      
      
      * Add Country211 dataset
      
      To addresses issue #5108.
      
      * Add Country211 dataset
      
      To addresses issue #5108.
      
      * Update country211.py
      
      * Update country211.py
      
      * Code review reflected
      
      Reflect code review
      
      * Update test_datasets.py
      
      * Update with review
      
      Update with review
      
      * inherit from ImageFolder
      
      * Update test/test_datasets.py
      
      * Docstring + minor test update
      Co-authored-by: default avatarPhilip Meier <github.pmeier@posteo.de>
      Co-authored-by: default avatarNicolas Hug <nicolashug@fb.com>
      ffd0d237
  12. 07 Jan, 2022 2 commits
  13. 06 Jan, 2022 6 commits
  14. 05 Jan, 2022 2 commits
  15. 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
  16. 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
  17. 16 Dec, 2021 1 commit