- 11 Apr, 2022 3 commits
-
-
YosuaMichael authored
* Add SWAG model that only the linear classifier head is finetuned with frozen trunk weight * Add accuracy from experiments * Change name from SWAG_LC to SWAG_LINEAR * Add comment on SWAG_LINEAR weight * Remove the comment docs (moved to PR description), and add the PR url as recipe. Also change name of previous swag model to SWAG_E2E_V1
-
Philip Meier authored
-
Philip Meier authored
-
- 10 Apr, 2022 1 commit
-
-
Yulv-git authored
* Update _register_onnx_ops.py * Update misc.py
-
- 08 Apr, 2022 2 commits
-
-
YosuaMichael authored
* Add test for sigmoid_focal_loss * Update test/test_ops.py Improve code by using torch.testing.make_tensor Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Update test/test_ops.py Remove unnecessary assert Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Update test/test_ops.py Refactor code for generating inputs and targets Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Improve focal_loss test code suggested on comment by Philip * Use fuser2 to prevent fuser bug * Combine function to generate input, dont set the fuser when device is cpu * Add github issue for the fuser problem Co-authored-by:
Philip Meier <github.pmeier@posteo.de>
-
vfdev authored
* [proto] Added crop_bounding_box op * Removed "pass" * Updated comment * Removed unused args from signature
-
- 07 Apr, 2022 3 commits
-
-
Philip Meier authored
* refactor prototype datasets to inherit from IterDataPipe (#5448) * refactor prototype datasets to inherit from IterDataPipe * depend on new architecture * fix missing file detection * remove unrelated file * reinstante decorator for mock registering * options -> config * remove passing of info to mock data functions * refactor categories file generation * fix imagenet * fix prototype datasets data loading tests (#5711) * reenable serialization test * cleanup * fix dill test * trigger CI * patch DILL_AVAILABLE for pickle serialization * revert CI changes * remove dill test and traversable test * add data loader test * parametrize over only_datapipe * draw one sample rather than exhaust data loader * cleanup * trigger CI * migrate VOC prototype dataset (#5743) * migrate VOC prototype dataset * cleanup * revert unrelated mock data changes * remove categories annotations * move properties to constructor * readd homepage * migrate CIFAR prototype datasets (#5751) * migrate country211 prototype dataset (#5753) * migrate CLEVR prototype datsaet (#5752) * migrate coco prototype (#5473) * migrate coco prototype * revert unrelated change * add kwargs to super constructor call * remove unneeded changes * fix docstring position * make kwargs explicit * add dependencies to docstring * fix missing dependency message * Migrate PCAM prototype dataset (#5745) * Port PCAM * skip_integrity_check * Update torchvision/prototype/datasets/_builtin/pcam.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Address comments Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Migrate DTD prototype dataset (#5757) * Migrate DTD prototype dataset * Docstring * Apply suggestions from code review Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Migrate GTSRB prototype dataset (#5746) * Migrate GTSRB prototype dataset * ufmt * Address comments * Apparently mypy doesn't know that __len__ returns ints. How cute. * why is the CI not triggered?? * Update torchvision/prototype/datasets/_builtin/gtsrb.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * migrate CelebA prototype dataset (#5750) * migrate CelebA prototype dataset * inline split_id * Migrate Food101 prototype dataset (#5758) * Migrate Food101 dataset * Added length * Update torchvision/prototype/datasets/_builtin/food101.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Migrate Fer2013 prototype dataset (#5759) * Migrate Fer2013 prototype dataset * Update torchvision/prototype/datasets/_builtin/fer2013.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Migrate EuroSAT prototype dataset (#5760) * Migrate Semeion prototype dataset (#5761) * migrate caltech prototype datasets (#5749) * migrate caltech prototype datasets * resolve third party dependencies * Migrate Oxford Pets prototype dataset (#5764) * Migrate Oxford Pets prototype dataset * Update torchvision/prototype/datasets/_builtin/oxford_iiit_pet.py Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * migrate mnist prototype datasets (#5480) * migrate MNIST prototype datasets * Update torchvision/prototype/datasets/_builtin/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Migrate Stanford Cars prototype dataset (#5767) * Migrate Stanford Cars prototype dataset * Address comments * fix category file generation (#5770) * fix category file generation * revert unrelated change * revert unrelated change * migrate cub200 prototype dataset (#5765) * migrate cub200 prototype dataset * address comments * fix category-file-generation * Migrate USPS prototype dataset (#5771) * migrate SBD prototype dataset (#5772) * migrate SBD prototype dataset * reuse categories * Migrate SVHN prototype dataset (#5769) * add test to enforce __len__ is working on prototype datasets (#5742) * reactivate special dataset tests * add missing annotation * Cleanup prototype dataset implementation (#5774) * Remove Dataset2 class * Move read_categories_file out of DatasetInfo * Remove FrozenBunch and FrozenMapping * Remove test_prototype_datasets_api.py and move missing dep test somewhere else * ufmt * Let read_categories_file accept names instead of paths * Mypy * flake8 * fix category file reading Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * update prototype dataset README (#5777) * update prototype dataset README * fix header level * Apply suggestions from code review Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Nicolas Hug authored
-
Philip Meier authored
-
- 06 Apr, 2022 3 commits
-
-
Vasilis Vryniotis authored
* Add MaskRCNN improved weights * Adding recipe URL
-
Vasilis Vryniotis authored
* Add FasterRCNN improved weights * Add recipe URL * Update publication_year field
-
Vasilis Vryniotis authored
* Add RetinaNet improved weights * Add weights. * Change publication date.
-
- 05 Apr, 2022 4 commits
-
-
Vasilis Vryniotis authored
* Use frozen BN only if pre-trained. * Add LSJ and ability to from scratch training. * Fixing formatter * Adding `--opt` and `--norm-weight-decay` support in Detection. * Fix error message * Make ScaleJitter proportional. * Adding more norm layers in split_normalization_params. * Add FixedSizeCrop * Temporary fix for fill values on PIL * Fix the bug on fill. * Add RandomShortestSize. * Skip resize when an augmentation method is used. * multiscale in [480, 800] * Add missing star * Add new RetinaNet variant. * Add tests. * Update expected file for old retina * Fixing tests * Add FrozenBN to retinav2 * Fix network initialization issues * Adding BN support in MaskRCNNHeads and FPN * Adding support of FasterRCNNHeads * Introduce norm_layers in backbone utils. * Bigger RPN head + 2x rcnn v2 models. * Adding gIoU support to retinanet * Fix assert * Add back nesterov momentum * Rename and extend `FastRCNNConvFCHead` to support arbitrary FCs * Fix linter
-
YosuaMichael authored
* Add vit_b_16_swag * Better handling idiom for image_size, edit test_extended_model to handle case where number of param differ from default due to different image size input * Update the accuracy to the experiment result on torchvision model * Fix typo missing underscore * raise exception instead of torch._assert, add back publication year (accidentally deleted) * Add license information on meta and readme * Improve wording and fix typo for pretrained model license in readme * Add vit_l_16 weight * Update README.rst Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update the accuracy meta on vit_l_16_swag model to result from our experiment * Add vit_h_14_swag model * Add accuracy from experiments * Add to vit_h_16 model to hubconf.py * Add docs and expected pkl file for test * Remove legacy compatibility for ViT_H_14 model Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Test vit_h_14 with smaller image_size to speedup the test Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
-
Philip Meier authored
-
- 04 Apr, 2022 7 commits
-
-
Philip Meier authored
* port image type conversion transforms to prototype API * implement proposal for image type conversion * add deprecation warnings * appease mypy Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
YosuaMichael authored
* Add regnet_y_128gh_swag weight * Add default weight for regnet_y_128gf * Add the accuracy from experiments
-
vfdev authored
* Added functional affine_bounding_box op with tests * Updated comments and added another test case * Update _geometry.py * Added affine_segmentation_mask with tests * Fixed device mismatch issue Added a cude/cpu test Reduced the number of test samples * Added test_correctness_affine_segmentation_mask_on_fixed_input * Updates according to the review * Replaced [None, ...] by [None, :] * Adressed review comments * Fixed formatting and more updates according to the review * Fixed bad merge * WIP * Fixed tests * Updated warning message
-
KyleCZH authored
Signed-off-by:
Kyle Chen <kylechen@amd.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Yassine Alouini authored
* [FEAT] Start implementing Food101 using the new datasets API. WIP. * [FEAT] Generate Food101 categories and start the test mock. * [FEAT] food101 dataset code seems to work now. * [TEST] food101 mock update. * [FIX] Some fixes thanks to running food101 tests. * [FIX] Fix mypy checks for the food101 file. * [FIX] Remove unused numpy. * [FIX] Some changes thanks to code review. * [ENH] More idomatic dataset code thanks to code review. * [FIX] Remove unused cast. * [ENH] Set decompress and extract to True for some performance gains. * [FEAT] Use the preprocess=decompress keyword. * [ENH] Use the train and test.txt file instead of the .json variants and simplify code + update mock data. * [ENH] Better food101 mock data generation. * [FIX] Remove a useless print. Co-authored-by:Philip Meier <github.pmeier@posteo.de>
-
Philip Meier authored
* port Grayccale and RandomGrayscale transforms to prototype API * revert some changes * move gray output channels to transform rather than functional
-
Philip Meier authored
* indicate md5 checksum is not used for security * add explanation
-
- 01 Apr, 2022 7 commits
-
-
YosuaMichael authored
* Add regnet_y_16gf and regnet_y_32gf from swag * Format with ufmt * Add the experiment accuracy Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Philip Meier authored
* support confirming no virus scan on GDrive download * put gen_bar_updater back * Update torchvision/datasets/utils.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
Prabhat Roy authored
* Fix shape mismatch error * Update offset Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
YosuaMichael authored
* Add vit_b_16_swag * Better handling idiom for image_size, edit test_extended_model to handle case where number of param differ from default due to different image size input * Update the accuracy to the experiment result on torchvision model * Fix typo missing underscore * raise exception instead of torch._assert, add back publication year (accidentally deleted) * Add license information on meta and readme * Improve wording and fix typo for pretrained model license in readme * Add vit_l_16 weight * Update README.rst Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update the accuracy meta on vit_l_16_swag model to result from our experiment Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Hu Ye authored
* add set_weight_decay * Update _utils.py * refactor code * fix import * add set_weight_decay * fix lint * fix lint * replace split_normalization_params with set_weight_decay * simplfy the code * refactor code * refactor code * fix lint * remove unused * Update test_ops.py * Update train.py * Update _utils.py * Update train.py * add set_weight_decay * add set_weight_decay * Update _utils.py * Update test_ops.py * Change `--transformer-weight-decay` to `--transformer-embedding-decay` Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Detection recipe enhancements * Add back nesterov momentum
-
- 31 Mar, 2022 3 commits
-
-
Philip Meier authored
-
Nicolas Hug authored
-
Philip Meier authored
* upgrade to next-gen CircleCI convenience images * [DEBUG] try latest Android NDK convenience image * [DEBUG] try earliest next-gen android image
-
- 30 Mar, 2022 1 commit
-
-
Philip Meier authored
* add test to enforce infinite buffer size for all applicable datapipes * use utility function to extract datapipes * check for buffer_size attr rather than type * simplify
-
- 29 Mar, 2022 3 commits
-
-
Philip Meier authored
* update hint_shuffling * trigger CI
-
Behrooz authored
* Update docstring of adjust_hue Signed-off-by:
Behrooz <3968947+drbeh@users.noreply.github.com> * Update docstring of ColorJitter Signed-off-by:
Behrooz <3968947+drbeh@users.noreply.github.com> * Minor corrections Signed-off-by:
Behrooz <3968947+drbeh@users.noreply.github.com>
-
Joao Gomes authored
* reverting some recently introduced exceptions * Update torchvision/ops/poolers.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * address PR comments * replace one more assert with torch._assert: * address PR comments * make type checker happy * Fix bug * fix bug * fix for wrong asserts * attempt to make tests pass * Fix test_ops tests * Fix expected exception in tests * fix typo * fix tests and format * fix flake8 * remove one last exception * fix error * remove unused immport * replace fake returns by else Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 28 Mar, 2022 3 commits
-
-
Vasilis Vryniotis authored
-
Nicolas Hug authored
-
Vasilis Vryniotis authored
-