Instructions to use hustvl/yolos-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hustvl/yolos-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="hustvl/yolos-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("hustvl/yolos-tiny") model = AutoModelForObjectDetection.from_pretrained("hustvl/yolos-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json
Verified signature95a90f3 -
Update preprocessor_config.json
Verified signatureed41ff0
-
Adding `safetensors` variant of this model (#5)
- Adding `safetensors` variant of this model (da86128da961944dd8e33bb7c1baea46ed0a4753) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1a00cc1
-
updated the How to use section so that the code actually does what the live demo does (#4)
- updated the How to use section so that the code actually does what the live demo does (199695c904a49dc957f737821c2ada065c8d4517) - swtiched to YolosImageProcessor (bbd712b25cecec17f9a487f38096f55db7285a9f) Co-authored-by: Srinivas Gorur-Shandilya <srinivasgs@users.noreply.huggingface.co>5d62ad2
-
Add vision tag
3686e65
-
add model
829cdc7 -
add model
8c34dcf -
Create README.md
0b2508c
-
Update preprocessor_config.json
74a1037
-
add model
456317a -
add model
bf44e33 -
initial commit
0e473fe