Instructions to use google/vivit-b-16x2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vivit-b-16x2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="google/vivit-b-16x2")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("google/vivit-b-16x2") model = AutoModelForVideoClassification.from_pretrained("google/vivit-b-16x2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json (#1)
- Update preprocessor_config.json (eb7fdbcbe4c751164e9aab12133acf57427524da)fc34105
-
Update model using new conversion script
d0b4fe0
-
Add ViViT model weights
fb6268d