快捷方式

视频 MViT

MViT 模型基于 MViTv2: Improved Multiscale Vision Transformers for Classification and DetectionMultiscale Vision Transformers 论文。

模型构建器

可以使用以下模型构建器来实例化 MViT v1 或 v2 模型,无论是否带有预训练权重。所有模型构建器内部都依赖于 torchvision.models.video.MViT 基类。有关此类的更多详细信息,请参阅 源代码

mvit_v1_b(*[, weights, progress])

Multiscale Vision Transformers 构建基础 MViTV1 架构。

mvit_v2_s(*[, weights, progress])

Multiscale Vision TransformersMViTv2: Improved Multiscale Vision Transformers for Classification and Detection 构建小型 MViTV2 架构。

文档

访问全面的 PyTorch 开发者文档

查看文档

教程

为初学者和高级开发者提供深入的教程

查看教程

资源

查找开发资源并让您的问题得到解答

查看资源