Instructions to use google/vivit-b-16x2-kinetics400 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vivit-b-16x2-kinetics400 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="google/vivit-b-16x2-kinetics400")# Load model directly from transformers import AutoImageProcessor, ViViTForVideoClassification processor = AutoImageProcessor.from_pretrained("google/vivit-b-16x2-kinetics400") model = ViViTForVideoClassification.from_pretrained("google/vivit-b-16x2-kinetics400") - Notebooks
- Google Colab
- Kaggle
Ctrl+K