pytorch/vision

[RFC] Batteries Included - Phase 3

Open

#6,323 opened on Jul 27, 2022

View on GitHub
 (52 comments) (12 reactions) (0 assignees)Python (15,050 stars) (6,858 forks)batch import
help wantedmodule: modelsmodule: opsmodule: reference scriptsmodule: transformsnew feature

Description

🚀 The feature

Note: To track the progress of the project check out this board.

This is the 3rd phase of TorchVision's modernization project (see phase 1 and 2). We aim to keep TorchVision relevant by ensuring it provides off-the-shelf all the necessary primitives, model architectures and recipe utilities to produce SOTA results for the supported Computer Vision tasks.

To enable our users to reproduce the latest state-of-the-art research we will enhance TorchVision with the following data augmentations, layers, losses and other operators:

Data Augmentations

Losses

Operators added in PyTorch Core

To ensure that our users have access to the most popular SOTA models, we will add the following architectures along with pre-trained weights:

Image Classification

Video Classification

  • MViTv2 [1] - #6373
  • Swin3d [1] - #6499 #6521
  • S3D [1] - #6402 #6412 #6537

To ensure that are users can have access to strong baselines and SOTA weights, we will improve our training recipes to incorporate the newly released primitives and offer improved pre-trained models:

Reference Scripts

  • Update the Reference Scripts to use the latest primitives - #6405 #6433

Pre-trained weights

  • Improve the accuracy of Video models

Other Candidates

There are several other Operators (#5414), Losses (#2980), Augmentations (#3817) and Models (#2707) proposed by the community. Here are some potential candidates that we could implement depending on bandwidth. Contributions are welcome for any of the below:

cc @datumbox @vfdev-5

Contributor guide