- 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
-
- 19 May, 2022 2 commits
-
-
Vasilis Vryniotis authored
* Adding an MLP block. * Adding documentation * Update typos. * Fix inplace for Dropout. * Apply recommendations from code review. * Making changes on pre-trained models. * Fix linter
-
Joao Gomes authored
* add swin_s and swin_b variants * fix swin_b params * fix n parameters and acc numbers * adding missing acc numbers * apply ufmt * Updating `_docs` to reflect training recipe * Fix exted for swin_b Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
- 18 May, 2022 4 commits
-
-
Nicolas Hug authored
* Doc revamp for optical flow models * Some more
-
Nicolas Hug authored
* Classif models * Detection * Segmentation * quantization * Video * optical flow * tests * Fix docs * Fix Video dataset * Consistency for RAFT dataset names * use ImageNet-1K * Use COCO-val2017-VOC-labels for segmentation * formatting
-
Aditya Oke authored
Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
Vasilis Vryniotis authored
* Adding docs for quantized models. * Adding docs for video models. * Adding docs for segmentation models. * Adding docs for optical flow models. * Adding docs for detection models. * Fix typo. * Make changes from code-review.
-
- 17 May, 2022 4 commits
-
-
Vasilis Vryniotis authored
* Improving the auto-gen doc. * Adding details for AlexNet, ConvNext, DenseNet, EfficientNets, GoogLeNet and InceptionV3. * Fixing location of `_docs` * Adding docs in the remaining classification models. * Fix linter
-
WuZhe authored
* update paper link for FCOS refence * remove 'updated version' Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
F-G Fernandez authored
* docs: Added quantized ResNeXt to new docs * docs: Fixed docstring Co-authored-by:Vasilis Vryniotis <datumbox@users.noreply.github.com>
-
F-G Fernandez authored
-
- 16 May, 2022 7 commits
-
-
Zhiqiang Wang authored
-
YosuaMichael authored
* Add weight for mnasnet0_75 and mnasnet1_3 * Fix missing comma * Add PR url as recipe, and update the metrics * Add weights to legacy handler * Update docs to specify there are weights available
-
Vasilis Vryniotis authored
* Prefixing `_get_enum_from_fn` with underscore * Exposing `get_weight` to Torch Hub
-
Nicolas Hug authored
-
Vasilis Vryniotis authored
-
Abhijit Deo authored
-
Abhijit Deo authored
* added note * quantize = True higlighted in the note. * Keep "Large" in docstring Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
- 13 May, 2022 2 commits
-
-
Hu Ye authored
* Create resnet_quant.rst * add resnet quant * refactor docs * Minor fix * Nit Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Yassine Alouini authored
* [DOC] Add quantized inception updated documentation. * Add missing file. * Apply suggestions from code review [ENH] Improve doc thanks to various code review comments. Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com> Co-authored-by:
Aditya Oke <47158509+oke-aditya@users.noreply.github.com> Co-authored-by:
Nicolas Hug <contact@nicolas-hug.com>
-
- 12 May, 2022 3 commits
-
-
Vasilis Vryniotis authored
* Remove old "minimum input size" from docstrings. * Remove "currently only XYZ weights available" * Fix description of wide_resnet101_2 * Make display license URLs as links. * Clarify the order of dims of min_size. * Remove lengthy keypoint_names from meta-table.
-
Lezwon Castelino authored
* added quantized mobilenetv2 docs * remove quotes Co-authored-by:Nicolas Hug <contact@nicolas-hug.com>
-
Nicolas Hug authored
-