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")# pip install -U transformers accelerate # 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
Commit History
-
Update preprocessor_config.json
Verified signature3d8f713 -
Update preprocessor_config.json
Verified signatureb6d510c
-
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (2ddff0d4556b219a5d1acf20eb6f191cbf183593) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>3c01382
-
Add vision tag
5f960fd
-
add model
8136d12 -
Update README.md
79465d4 -
Update README.md
64cbfbc -
Create README.md
471e3ab
-
Update preprocessor_config.json
0a971e9
-
add model
fa14678 -
add model
43bafb5 -
initial commit
79f8cb0