Instructions to use ai-forever/kandinsky-videomae-large-camera-motion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-forever/kandinsky-videomae-large-camera-motion with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="ai-forever/kandinsky-videomae-large-camera-motion")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("ai-forever/kandinsky-videomae-large-camera-motion") model = AutoModelForVideoClassification.from_pretrained("ai-forever/kandinsky-videomae-large-camera-motion", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature3e9a74f -
Create README.md
Verified signature4bd9345 -
upload videomae-large-camera-motion
Verified signature[VideoMAE model](https://huggingface.co/docs/transformers/model_doc/videomae)(`large`) variant that has been finetuned for multi-label video classification (a video can belong to multiple classes simultaneously) for camera motion classification on internal dataset. The model predicts `18` different camera motion `'arc_left', 'arc_right', 'dolly_in', 'dolly_out', 'pan_left', 'pan_right', 'pedestal_down', 'pedestal_up', 'roll_left', 'roll_right', 'static', 'tilt_down', 'tilt_up', 'truck_left', 'truck_right', 'undefined', 'zoom_in', 'zoom_out'` and and 3 shot type classes: `'pov', 'shake', 'track' ` . Model was trained to associate **entire video** with camera labels, not frame-level motions(!): [input video] -> label/labels (because multilabel) for all video. So, if this camera motion exists during all video frames model should predict this motion, otherwise it should predict `undefined`. The model is configured to process `config.num_frames=16` frames per input clip. Thes…94d0b5a -
initial commit
Verified signature32e893c