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