- 14 Jan, 2022 1 commit
-
-
Yiwen Song authored
* add fvgc_aircraft dataset * add docstring & remove useless import * resolve lint issue * address comments * adding more annotation level * nit * address comments * Apply suggestions from code review * unify format * remove useless line Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 13 Jan, 2022 1 commit
-
-
Kai Zhang authored
* add regnet_y_128gf * fix test * add expected test file * update regnet factory function, add to prototype as well * write torchscript to temp file instead bytesio in model test * docs * clear GPU memory * no_grad * nit Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 12 Jan, 2022 1 commit
-
-
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:
Philip 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:
Philip Meier <github.pmeier@posteo.de> * Using a loop makes this more concise without reducing readability Co-authored-by:
Philip 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:
Philip Meier <github.pmeier@posteo.de> * isdir -> is_dir Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Nicolas Hug <nicolashug@fb.com>
-
- 10 Jan, 2022 1 commit
-
-
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:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Nicolas Hug <nicolashug@fb.com>
-
- 07 Jan, 2022 2 commits
-
-
Philip Meier authored
* refactor prototype datasets tests * skip tests with insufficient third party dependencies
-
Saswat Das authored
* dataset class added * fix code format * fixed requested changes * fixed issues in sun397 * Update torchvision/datasets/sun397.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
- 06 Jan, 2022 6 commits
-
-
Philip Meier authored
* add prototype dataset for oxford-iiit-pet * add old-style dataset * add tests * fix mypy * fix test * remove properties and use pathlib * target_type to target_types * move target annotation * add docstring * fix test
-
Philip Meier authored
-
Vasilis Vryniotis authored
* Improved meta-data for models. * Addressing comments from code-review. * Add parameter count. * Fix linter.
-
Nicolas Hug authored
-
Philip Meier authored
* add prototype dataset * add old-style dataset * appease mypy * simplify prototype scenes * Update torchvision/datasets/clevr.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Sumukh Aithal authored
* Added GTSRB dataset * Added unittest for GTSRB dataset * Apply suggestions from code review * More changes from code review * readd accidental removed line Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
- 05 Jan, 2022 2 commits
-
-
Philip Meier authored
* add prototype dataset * add old style dataset * Apply suggestions from code review Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * refactor integrity check Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Philip Meier authored
* add DTD as prototype dataset * add old style dataset * add test for old dataset * fix tests for windows * add dataset to docs * remove properties and use pathlib * Apply suggestions from code review Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * fold -> partition Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 30 Dec, 2021 1 commit
-
-
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:Francisco Massa <fvsmassa@gmail.com>
-
- 22 Dec, 2021 1 commit
-
-
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:Philip Meier <github.pmeier@posteo.de>
-
- 16 Dec, 2021 1 commit
-
-
Philip Meier authored
* add sharding filters in prototype datasets to help the data loader * hint rather than apply * fix sharding for folders * fix import * fix coco * appease mypy
-
- 14 Dec, 2021 1 commit
-
-
Philip Meier authored
-
- 08 Dec, 2021 5 commits
-
-
Nicolas Hug authored
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
-
Vasilis Vryniotis authored
* Adding test that verifies meta schema. * Adding missing interpolation to keypoint model. * Change assertion. * Adding map metric in meta schema for detection and renaming metrics for kp and mask rcnn.
-
Philip Meier authored
* add download functionality to prototype datasets * fix annotation * fix test * remove iopath * add comments
-
- 07 Dec, 2021 1 commit
-
-
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:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 06 Dec, 2021 1 commit
-
-
Nicolas Hug authored
-
- 05 Dec, 2021 1 commit
-
-
Prabhat Roy authored
-
- 30 Nov, 2021 3 commits
-
-
Joao Gomes authored
making torchvision ops leaf nodes by default
-
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
-
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.
-
- 29 Nov, 2021 4 commits
-
-
Vasilis Vryniotis authored
* Fix bug on autocontrast when `min==max` * Adding PIL vs TorchVision test for min==max
-
Vasilis Vryniotis authored
* Rename classes Weights => WeightsEnum and WeightEntry => Weights. * Make enum values follow the naming convention `_V1`, `_V2` etc * Cleanup the Enum class naming conventions. * Add a test to check naming conventions.
-
Nicolas Hug authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
puhuk authored
* Update functional_tensor.py To resolve issue #4818 Add assert function and logic after checking bound of image * Update functional_tensor.py * Update test * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Update test_functional_tensor.py * Fix linter Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 27 Nov, 2021 1 commit
-
-
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:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
- 26 Nov, 2021 1 commit
-
-
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
-
- 25 Nov, 2021 1 commit
-
-
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.
-
- 22 Nov, 2021 4 commits
-
-
Philip Meier authored
* don't close file handles in protoype dataset tests * remove file closing from decoder Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
Co-authored-by:Francisco Massa <fvsmassa@gmail.com>
-
Philip Meier authored
-
Philip Meier authored
* add third party dependencies to prototype datasets * add test for Dataset.to_datapipe * add missing annotation
-