[RFC] Batteries Included - Phase 3
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 7.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 13
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.
1. New Primitives
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
- AutoAugment for Detection [1, 2] - #6224 #6609
- Mosaic [1, 2] - #6534
- Mixup for Detection [1, 2] - #6720 #6721
Losses
Operators added in PyTorch Core
- LARS Optimizer [1, 2] - https://github.com/pytorch/pytorch/pull/88106
- LAMB Optimizer [1, 2] - #6868
- Polynomial LR Scheduler [1, 2] - code - https://github.com/pytorch/pytorch/pull/82769
2. New Architectures & Model Iterations
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
3. Improved Training Recipes & Pre-trained models
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:
- YOLOX [1] - #6341
- DeTR - #5922 #6922
- U-Net - #6610 #6611
- MViTv2 for Images [1]
- Video Transformer Network [1]
- MTV
- Deformable DeTR
- Shortcut Regularizer (FX-based)
- Hide-and-Seek - #6796
cc @datumbox @vfdev-5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked project board and choose one unchecked primitive, architecture, recipe, or model item, then read its linked issue and referenced research or implementation. Done means completing that separately scoped item and updating its checklist or linked issue; this umbrella RFC does not define a single contribution by itself.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100