Instructions to use Mohamedh0/videomae-fight-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mohamedh0/videomae-fight-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("video-classification", model="Mohamedh0/videomae-fight-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForVideoClassification processor = AutoImageProcessor.from_pretrained("Mohamedh0/videomae-fight-detection") model = AutoModelForVideoClassification.from_pretrained("Mohamedh0/videomae-fight-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K