- 28 Sep, 2022 2 commits
-
-
Nicolas Hug authored
* Remove Kinetics400 class * Remove '2007-test' in VOC * Remove some MobileNet layer classes * Remove torchvision/models/segmentation/segmentation.py * Remove some MultiScaleRoIAlign methods * Remove torchvision/transforms/_functional_video.py * Remove torchvision/transforms/_transforms_video.py * Remove resample parameter in transforms * Remove 'range' parameter * Remove 'fill_value' parameter in transforms * Revert to original warning for C++ models - looks like we should still keep them around? * pre-commit * Fix docs * Remove test/test_transforms_video.py * Some fixes * Remove more tests * Revert changes to C++ models * Add back _transforms_video and change warning message * Change back the warning message, and will change the warning message on separate PR Co-authored-by:
YosuaMichael <yosuamichaelm@gmail.com> Co-authored-by:
Yosua Michael Maranatha <yosuamichael@fb.com>
-
Philip Meier authored
-
- 23 Sep, 2022 1 commit
-
-
Ponku authored
* Added maxvit architecture and tests * rebased + addresed comments * Revert "rebased + addresed comments" This reverts commit c5b28398cd48d2f3403c7c8eeefbaba9df05fcfe. * Re-added model changes after revert * aligned with partial original implementation * removed submitit script fixed lint * mypy fix for too many arguments * updated old tests * removed per batch lr scheduler and seed setting * removed ontap * added docs, validated weights * fixed test expect, moved shape assertions in the begging for torch.fx compatibility * mypy fix * lint fix * added legacy interface * added weight link * updated docs * Update references/classification/train.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Update torchvision/models/maxvit.py Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * adressed comments * update ra_maginuted and augmix_severity default values * adressed some comments * remove input_channels parameter Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 21 Sep, 2022 1 commit
-
-
Yakhyokhuja Valikhujaev authored
Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 20 Sep, 2022 1 commit
-
-
Ambuj Pawar authored
* ADD: init_weights config for googlenet * Fix: Inception and googlenet warnings * Fix: warning in test_datasets.py * Fix: Formatting error with ufmt * Fix: Failing tests in quantized_classification_model * Update test/test_models.py to make googlenet in 1 line Co-authored-by:
Philip Meier <github.pmeier@posteo.de> * Refactor: Change inception quantisation class initialization to use args/kwargs * Resolve mypy issue * Move *args before inception_blocks * Move args keywords before other arguments Co-authored-by:
Ambuj Pawar <your_email@abc.example> Co-authored-by:
Philip Meier <github.pmeier@posteo.de> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 16 Sep, 2022 1 commit
-
-
YosuaMichael authored
-
- 15 Sep, 2022 2 commits
-
-
Ponku authored
* crestereo draft implementation * minor model fixes. positional embedding changes. * aligned base configuration with paper * Adressing comments * Broke down Adaptive Correlation Layer. Adressed some other commets. * adressed some nits * changed search size, added output channels to model attrs * changed weights naming * changed from iterations to num_iters * removed _make_coords, adressed comments * fixed jit test * config nit * Changed device arg to str Co-authored-by:
Joao Gomes <jdsgomes@fb.com> Co-authored-by:
YosuaMichael <yosuamichaelm@gmail.com>
-
Vasilis Vryniotis authored
-
- 14 Sep, 2022 1 commit
-
-
YosuaMichael authored
-
- 13 Sep, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 12 Sep, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Add `handle_legacy_interface()` to all new models. * Fix imports * Addressing review comments. * Fix linter * Addressing further comments.
-
Vasilis Vryniotis authored
-
- 09 Sep, 2022 1 commit
-
-
Nicolas Granger authored
Changes image size convention to (h, w). I don't think this is used by models other than SSD which assumes this convention. Co-authored-by:
Nicolas Granger <nicolas.granger@cea.fr> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 05 Sep, 2022 1 commit
-
-
Vasilis Vryniotis authored
* S3D weight deployment * Update accuracies. * Address review comments.
-
- 19 Aug, 2022 1 commit
-
-
Sophia Zhi authored
* S3D initial commit * add model builder code and docstrings * change classifier submodule, populate weights enum * fix change of block args from List[List[int]] to ints * add VideoClassification to transforms * edit weights url for testing, add s3d to models.video init * norm_layer changes * norm_layer and args fix * Overwrite default dropout * Remove docs from internal submodules. * Fix tests * Adding documentation. * Link doc from main models.rst * Fix min_temporal_size * Adding crop/resize parameters in references script * Release weights. * Refactor dropout. * Adding the weights table in the doc Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Vasilis Vryniotis <vvryniotis@fb.com>
-
- 18 Aug, 2022 1 commit
-
-
Vasilis Vryniotis authored
-
- 10 Aug, 2022 2 commits
-
-
Local State authored
* init submit * fix typo * support ufmt and mypy * fix 2 unittest errors * fix ufmt issue * Apply suggestions from code review Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * unify codes * fix meshgrid indexing * fix a bug * fix type check * add type_annotation * add slow model * fix device issue * fix ufmt issue * add expect pickle file * fix jit script issue * fix type check * keep consistent argument order * add support for pretrained_window_size * avoid code duplication * a better code reuse * update window_size argument * make permute and flatten operations modular * add PatchMergingV2 * modify expect.pkl * use None as default argument value * fix type check * fix indent * fix window_size (temporarily) * remove "v2_" related prefix and add v2 builder * remove v2 builder * keep default value consistent with official repo * deprecate dropout * deprecate pretrained_window_size * fix dynamic padding edge case * remove unused imports * remove doc modification * Revert "deprecate dropout" This reverts commit 8a13f932815ae25655c07430d52929f86b1ca479. * Revert "fix dynamic padding edge case" This reverts commit 1c7579cb1bd7bf2f0f94907f39bee6ed707a97a8. * remove unused kwargs * add downsample docs * revert block default value * revert argument order change * explicitly specify start_dim * add small and base variants * add expect files and slow_models * Add model weights and documentation for swin v2 * fix lint * fix end of files line Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> Co-authored-by:
Joao Gomes <jdsgomes@fb.com>
-
Vasilis Vryniotis authored
* Extending to support MViTv2 * Fix docs, mypy and linter * Refactor the relative positional code. * Code refactoring. * Rename vars. * Update docs. * Replace assert with exception. * Updat docs. * Minor refactoring. * Remove the square input limitation. * Moving methods around. * Modify the shortcut in the attention layer. * Add ported weights. * Introduce a `residual_cls` config on the attention layer. * Make the patch_embed kernel/padding/stride configurable. * Apply changes from code-review. * Remove stale todo.
-
- 08 Aug, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Expose on Hub the public methods of the registration API * Limit methods and update docs.
-
- 02 Aug, 2022 1 commit
-
-
Abhijit Deo authored
* cleaning up box decoding * minor nits * cleanup for box encoding also addded.
-
- 01 Aug, 2022 2 commits
-
-
Vasilis Vryniotis authored
-
Vasilis Vryniotis authored
* Model registration mechanism. * Add overwrite options to the dataset prototype registration mechanism. * Adding example models. * Fix module filtering * Fix linter * Fix docs * Make name optional if same as model builder * Apply updates from code-review. * fix minor bug * Adding getter for model weight enum * Support both strings and callables on get_model_weight. * linter fixes * Fixing mypy. * Renaming `get_model_weight` to `get_model_weights` * Registering all classification models. * Registering all video models. * Registering all detection models. * Registering all optical flow models. * Fixing mypy. * Registering all segmentation models. * Registering all quantization models. * Fixing linter * Registering all prototype depth perception models. * Adding tests and updating existing tests. * Fix linters * Fix tests. * Add beta annotation on docs. * Fix tests. * Apply changes from code-review. * Adding documentation. * Fix docs.
-
- 25 Jul, 2022 1 commit
-
-
Abhijit Deo authored
* intial structure * fixed types of few variables * remove the commented code * list -> List * encode method will take input as tensors instead of list of tensor Co-authored-by:Joao Gomes <jdsgomes@fb.com>
-
- 22 Jul, 2022 1 commit
-
-
Philip Meier authored
* upgrade usort to * Also update black * Actually use 1.0.2 * Apply pre-commit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 14 Jul, 2022 1 commit
-
-
Local State authored
* fix inplace mutation * Different attn shouldn't share the same attribute * a simpler solution Co-authored-by:YosuaMichael <yosuamichaelm@gmail.com>
-
- 08 Jul, 2022 1 commit
-
-
YosuaMichael authored
-
- 07 Jul, 2022 1 commit
-
-
YosuaMichael authored
* Add ensembled video accuracy on video reference script * Change the parser func to be similar with classification reference * Fix typo type->dtype * Use custom kinetics * Fix dataset to not getting start_pts * Change dataset name, and put video_idx at the back * Ufmt format * Use functional softmax, updating meta and use it to overwrite eval param * Fix typo * Put the eval parameters on the docs for now * Change meta for video resnet to use frame-rate 15, also change wording on docs
-
- 05 Jul, 2022 1 commit
-
-
Abhijit Deo authored
* basic structure * added constrains * fixed errors * thanks to vadim! * addressing the comments and added docstrign * Apply suggestions from code review Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 24 Jun, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Adding MViT v2 architecture (#6105) * Adding mvitv2 architecture * Fixing memory issues on tests and minor refactorings. * Adding input validation * Adding docs and minor refactoring * Add `min_temporal_size` in the supported meta-data. * Switch Tuple[int, int, int] with List[int] to support easier the 2D case * Adding more docs and references * Change naming conventions of classes to follow the same pattern as MobileNetV3 * Fix test breakage. * Update todos * Performance optimizations. * Add support to MViT v1 (#6179) * Switch implementation to v1 variant. * Fix docs * Adding back a v2 pseudovariant * Changing the way the network are configured. * Temporarily removing v2 * Adding weights. * Expand _squeeze/_unsqueeze to support arbitrary dims. * Update references script. * Fix tests. * Fixing frames and preprocessing. * Fix std/mean values in transforms. * Add permanent Dropout and update the weights. * Update accuracies. * Fix documentation * Remove unnecessary expected file. * Skip big model test * Rewrite the configuration logic to reduce LOC. * Fix mypy
-
- 23 Jun, 2022 1 commit
-
-
YosuaMichael authored
* Add rough raft-stereo implementation on prototype/models * Add standard raft_stereo builder, and modify context_encoder to be more similar with original implementation * Follow original implementation on pre-convolve context * Fix to make sure we can load original implementation weight and got same output * reusing component from raft * Make the raft_stereo_fast able to load original weight implementation * Format with ufmt and update some comment * Use raft FlowHead * clean up comments * Remove unnecessary import and use ufmt format * Add __all__ and more docs for RaftStereo class * Only accept param and not module for raft stereo builder * Cleanup comment * Adding typing to raft_stereo * Update some of raft code and reuse on raft stereo * Use bool instead of int * Make standard raft_stereo model jit scriptable * Make the function _make_out_layer using boolean with_block and init the block_layer with identity * Separate corr_block into two modules for pyramid and building corr features * Use tuple if input is not variable size, also remove default value if using List * Format using ufmt and update ConvGRU to not inherit from raft in order to satisfy both jit script and mypy * Change RaftStereo docs input type * Ufmt format raft * revert back convgru to see mypy errors, add test for jit and fx, make the model fx compatible * ufmt format * Specify device for new tensor, dont init module then overwrite and put if-else instead * Ignore mypy problem on override, put back num_iters on forward * Revert some effort to make it fx compatible but unnecessary now * refactor code and remove num_iters from RaftStereo constructor * Change to raft_stereo_realtime, and specify device directly for tensor creation * Add description for raft_stereo_realtime * Update the test for raft_stereo * Fix raft stereo prototype test to properly test jit script * Ufmt format * Test against expected file, change name from raft_stereo to raft_stereo_builder to prevent import error * Revert __init__.py changes * Add default value for non-list param on model builder * Add checking on out_with_block length, add more docs on the encoder * Use base instead of basic since it is more commonly used * rename expect file to base as well * rename on test * Revert the revert of __init__.py, also revert the adding default value to _raft_stereo to follow the standard pattern * ufmt format __init__.py
-
- 16 Jun, 2022 2 commits
-
-
Nicolas Hug authored
-
Vasilis Vryniotis authored
-
- 14 Jun, 2022 1 commit
-
-
Nicolas Hug authored
* Add new .. betastatus:: directive to document Beta APIs * Also add it for the fine-grained video API * Add directive for all builders and pages of Detection module * Also segmentation and video models
-
- 10 Jun, 2022 1 commit
-
-
Nicolas Hug authored
-
- 31 May, 2022 1 commit
-
-
Vasilis Vryniotis authored
* Add missing `_version` to the MLPBlock * fix linter
-
- 26 May, 2022 2 commits
-
-
Vasilis Vryniotis authored
-
YosuaMichael authored
* Use List[int] instead of int for window_size and shift_size * Make PatchMerging and SwinTransformerBlock able to handle 2d and 3d cases * Separate patch embedding from SwinTransformer and enable to get model without head by specifying num_heads=None * Dont use if before padding so it is fx friendly * Put the handling on window_size edge cases on separate function and wrap with torch.fx.wrap so it is excluded from tracing * Update the weight url to the converted weight with new structure * Update the accuracy of swin_transformer * Change assert to Exception and nit * Make num_classes optional * Add typing output for _fix_window_and_shift_size function * init head to None to make it jit scriptable * Revert the change to make num_classes optional * Revert unneccesarry changes that might be risky * Remove self.head declaration
-
- 25 May, 2022 1 commit
-
-
YosuaMichael authored
-
- 20 May, 2022 2 commits
-
-
puhuk authored
* To resolve issue #5964 Add note for resnet architecture * Update resnet.py * Update resnet.py * Update resnet.rst * Fix stylings * Add the same notes on model builders * Improve description * Apply the change everywhere * Remove trailing space Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
-