Instructions to use hustvl/yolos-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hustvl/yolos-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="hustvl/yolos-small")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("hustvl/yolos-small") model = AutoModelForObjectDetection.from_pretrained("hustvl/yolos-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add Core ML conversion
#3
by sarim - opened
Core ML conversion, task=object-detection, precision=float32
yolos-small to Core ML