- 21 Apr, 2022 1 commit
-
-
YosuaMichael authored
* Remove publication_year and interpolation meta * Add type to _COMMON_META and _COMMON_SWAG_META to prevent error from mypy check * Remove test to check interpolation and publication_year meta Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 20 Apr, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Convert weights only if `old_key` is in `state_dict` * Fix linter
-
- 19 Apr, 2022 4 commits
-
-
Nicolas Hug authored
-
Nicolas Hug authored
* First PR for model doc revamp * Deactivating fail on warning, temporarily * Remove commnet * Minor changes * Typos * Added TODO in Makefile * Keep old models.rst file intact, move new docs into new models_new.rst file
-
tcmyxc authored
the assert msg should be same Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Shijie authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 18 Apr, 2022 1 commit
-
-
Kazuki Adachi authored
-
- 11 Apr, 2022 1 commit
-
-
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
-
- 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 2 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>
-
- 04 Apr, 2022 1 commit
-
-
YosuaMichael authored
* Add regnet_y_128gh_swag weight * Add default weight for regnet_y_128gf * Add the accuracy from experiments
-
- 01 Apr, 2022 3 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>
-
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>
-
Vasilis Vryniotis authored
* Detection recipe enhancements * Add back nesterov momentum
-
- 29 Mar, 2022 1 commit
-
-
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>
-
- 24 Mar, 2022 1 commit
-
-
Joao Gomes authored
* set default tracer kwargs always * simplify code * torchvision/models/feature_extraction.py * Adress PR comments * fix doc format * fix formatting * fix doc error
-
- 22 Mar, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Moving basefiles outside of prototype and porting Alexnet, ConvNext, Densenet and EfficientNet. * Porting googlenet * Porting inception * Porting mnasnet * Porting mobilenetv2 * Porting mobilenetv3 * Porting regnet * Porting resnet * Porting shufflenetv2 * Porting squeezenet * Porting vgg * Porting vit * Fix docstrings * Fixing imports * Adding missing import * Fix mobilenet imports * Fix tests * Fix prototype tests * Exclude get_weight from models on test * Fix init files * Porting googlenet * Porting inception * porting mobilenetv2 * porting mobilenetv3 * porting resnet * porting shufflenetv2 * Fix test and linter * Fixing docs. * Porting Detection models (#5617) * fix inits * fix docs * Port faster_rcnn * Port fcos * Port keypoint_rcnn * Port mask_rcnn * Port retinanet * Port ssd * Port ssdlite * Fix linter * Fixing tests * Fixing tests * Fixing vgg test * Porting Optical Flow, Segmentation, Video models (#5619) * Porting raft * Porting video resnet * Porting deeplabv3 * Porting fcn and lraspp * Fixing the tests and linter * Porting docs, examples, tutorials and galleries (#5620) * Fix examples, tutorials and gallery * Update gallery/plot_optical_flow.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Fix import * Revert hardcoded normalization * fix uncommitted changes * Fix bug * Fix more bugs * Making resize optional for segmentation * Fixing preset * Fix mypy * Fixing documentation strings * Fix flake8 * minor refactoring Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Resolve conflict * Porting model tests (#5622) * Porting tests * Remove unnecessary variable * Fix linter * Move prototype to extended tests * Fix download models job * Update CI on Multiweight branch to use the new weight download approach (#5628) * port Pad to prototype transforms (#5621) * port Pad to prototype transforms * use literal * Bump up LibTorchvision version number for Podspec to release Cocoapods (#5624) Co-authored-by:
Anton Thomma <anton@pri.co.nz> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * pre-download model weights in CI docs build (#5625) * pre-download model weights in CI docs build * move changes into template * change docs image * Regenerated config.yml Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Anton Thomma <11010310+thommaa@users.noreply.github.com> Co-authored-by:
Anton Thomma <anton@pri.co.nz> * Porting reference scripts and updating presets (#5629) * Making _preset.py classes * Remove support of targets on presets. * Rewriting the video preset * Adding tests to check that the bundled transforms are JIT scriptable * Rename all presets from *Eval to *Inference * Minor refactoring * Remove --prototype and --pretrained from reference scripts * remove pretained_backbone refs * Corrections and simplifications * Fixing bug * Fixing linter * Fix flake8 * restore documentation example * minor fixes * fix optical flow missing param * Fixing commands * Adding weights_backbone support in detection and segmentation * Updating the commands for InceptionV3 * Setting `weights_backbone` to its fully BC value (#5653) * Replace default `weights_backbone=None` with its BC values. * Fixing tests * Fix linter * Update docs. * Update preprocessing on reference scripts. * Change qat/ptq to their full values. * Refactoring preprocessing * Fix video preset * No initialization on VGG if pretrained * Fix warning messages for backbone utils. * Adding star to all preset constructors. * Fix mypy. Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Anton Thomma <11010310+thommaa@users.noreply.github.com> Co-authored-by:
Anton Thomma <anton@pri.co.nz>
-
- 15 Mar, 2022 1 commit
-
-
Joao Gomes authored
* replace most asserts with exceptions * fix formating issues * fix linting and remove more asserts * fix regresion * fix regresion * fix bug * apply ufmt * apply ufmt * fix tests * fix format * fix None check * fix detection models tests * non scriptable any * add more checks for None values * fix retinanet test * fix retinanet test * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/classification/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic: * Update references/optical_flow/transforms.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * make value checks more pythonic * make more checks pythonic * fix bug * appy ufmt * fix tracing issues * fib typos * fix lint * remove unecessary f-strings * fix bug * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/datasets/mnist.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/boxes.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/ops/poolers.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/utils.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * Update torchvision/io/_video_opt.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/detection/generalized_rcnn.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/feature_extraction.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * Update torchvision/models/optical_flow/raft.py Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> * address PR comments * addressing further pr comments * fix bug * remove unecessary else * apply ufmt * last pr comment * replace RuntimeErrors Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 07 Mar, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 04 Mar, 2022 1 commit
-
-
Xu Zhao authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 02 Mar, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Extend the EfficientNet class to support v1 and v2. * Refactor config/builder methods and add prototype builders * Refactoring weight info. * Update dropouts based on TF config ref * Update BN eps on TF base_config * Use Conv2dNormActivation. * Adding pre-trained weights for EfficientNetV2-s * Add Medium and Large weights * Update stats with single batch run. * Add accuracies in the docs.
-
- 25 Feb, 2022 1 commit
-
-
Aditya Oke authored
* Add ops.conv3d * Refactor for conv2d and 3d * Refactor * Fix bug * Addres review * Fix bug * nit fix * Fix flake * Final fix * remove documentation * fix linter * Update all the implementations to use new Conv * Small doc fix Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com>
-
- 24 Feb, 2022 2 commits
-
-
Prabhat Roy authored
* Use onnx function only in tracing mode * Add missing import * Address review comments * Fix type annotation * Ignore return type error * Remove unused import * Add fake cast * Fix mypy error * Fix mypy error * Update torchvision/models/detection/_utils.py Co-authored-by:
Shubham Bhokare <32080845+shubhambhokare1@users.noreply.github.com> * _fake_cast_onnx approach Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Shubham Bhokare <32080845+shubhambhokare1@users.noreply.github.com>
-
Joao Gomes authored
-
- 23 Feb, 2022 1 commit
-
-
Shubham Bhokare authored
* Add topk minimizer function to _utils * Apply ufmt formatting * Apply min function for tracing and scripting * Add type ignore to avoid cast * fix flake * Fix python_type_check Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 09 Feb, 2022 3 commits
-
-
Nicolas Hug authored
* More deprecations * update message * typo
-
Joao Gomes authored
* Consolidating __repr__ strings Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Aditya Oke authored
* Start adding example * Add thumbnail and text * Replace video * Improve * Change default weights of RAFT model builders * WIP * WIP * update handle_legacy_interface input * lots of stuff * Oops, wrong default * Typo * NITs * Reduce image size * Update gallery/plot_optical_flow.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Remove link to profile * Update gallery/plot_optical_flow.py Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> * Address comments * Nits * Revert "Remove link to profile" This reverts commit 2c7a468c2bb0e14d4f39070524d216cbc153bf1d. Co-authored-by:
Nicolas Hug <nicolashug@fb.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 08 Feb, 2022 1 commit
-
-
Philip Meier authored
* properly deprecate legacy implementation * cleanup * use warning over deprecation directive * remove patch version * fix link in Kinetics docstring * Some more * fix affine functional tests Co-authored-by:Nicolas Hug <nicolashug@fb.com>
-
- 07 Feb, 2022 1 commit
-
-
Nicolas Hug authored
* Change default weights of RAFT model builders * update handle_legacy_interface input * Oops, wrong default
-
- 02 Feb, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Move weight initialization in constructors. * Fixing mypy for ViT. * remove unnecessary import
-
Vasilis Vryniotis authored
* Add is_qat support using a method getter * Switch to an internal _fuse_modules * Fix linter. * Pass is_qat=False on PTQ * Fix bug on ra_sampler flag. * Set is_qat=True for QAT
-
- 01 Feb, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Graduate ConvNeXt to main TorchVision area. * Linter and all var. * Renaming var and making named params mandatory.
-
- 29 Jan, 2022 1 commit
-
-
Yiwen Song authored
* Adding conv_stem support * fix lint * bug fix * address comments * fix after merge * adding back checking lines * fix failing tests * fix iignore * add unittest & address comments * fix memory issue * address comments
-
- 27 Jan, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 26 Jan, 2022 2 commits
-
-
Hu Ye authored
* fix bug when the target is empty * Add unittest for empty instance training Co-authored-by:
Zhiqiang Wang <zhiqwang@foxmail.com> Co-authored-by:
Joao Gomes <joaopsgomes@gmail.com>
-
Masahiro Masuda authored
* Remove in-place mutation in DefaultBoxGenerator * device fix * Update torchvision/models/detection/anchor_utils.py Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-