Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
781f512b
Unverified
Commit
781f512b
authored
Apr 03, 2023
by
Nicolas Hug
Committed by
GitHub
Apr 03, 2023
Browse files
Fix mvitv2 docstring format (#7487)
parent
39712558
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
torchvision/models/video/mvit.py
torchvision/models/video/mvit.py
+5
-6
No files found.
torchvision/models/video/mvit.py
View file @
781f512b
...
...
@@ -765,11 +765,10 @@ def mvit_v1_b(*, weights: Optional[MViT_V1_B_Weights] = None, progress: bool = T
@
register_model
()
@
handle_legacy_interface
(
weights
=
(
"pretrained"
,
MViT_V2_S_Weights
.
KINETICS400_V1
))
def
mvit_v2_s
(
*
,
weights
:
Optional
[
MViT_V2_S_Weights
]
=
None
,
progress
:
bool
=
True
,
**
kwargs
:
Any
)
->
MViT
:
"""
Constructs a small MViTV2 architecture from
`Multiscale Vision Transformers <https://arxiv.org/abs/2104.11227>`__
and `MViTv2: Improved Multiscale Vision Transformers for Classification and Detection
<https://arxiv.org/abs/2112.01526>`__.
"""Constructs a small MViTV2 architecture from
`Multiscale Vision Transformers <https://arxiv.org/abs/2104.11227>`__ and
`MViTv2: Improved Multiscale Vision Transformers for Classification
and Detection <https://arxiv.org/abs/2112.01526>`__.
.. betastatus:: video module
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment