Instructions to use hf-internal-testing/tiny-random-YolosForObjectDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-YolosForObjectDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="hf-internal-testing/tiny-random-YolosForObjectDetection")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-YolosForObjectDetection") model = AutoModelForObjectDetection.from_pretrained("hf-internal-testing/tiny-random-YolosForObjectDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
0a4aae2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6de41646963d5f89526b7a34ad648c7a2e1a07adcca72592c2230d294dcdaf75
size 339869
|