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
Update preprocessor_config.json
#2
by amyeroberts - opened
No description provided.
Updates the image processor rescale factor to reflect changes in the rescale logic. See: https://github.com/huggingface/transformers/pull/25209
amyeroberts changed pull request status to merged