How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("object-detection", model="ciasimbaya/ObjectDetection")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection

processor = AutoImageProcessor.from_pretrained("ciasimbaya/ObjectDetection")
model = AutoModelForObjectDetection.from_pretrained("ciasimbaya/ObjectDetection")
Quick Links