Training in progress, step 400 9c83b8c
Amine commited on
How to use AmineAllo/MT-chocolate-dust-79 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="AmineAllo/MT-chocolate-dust-79") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("AmineAllo/MT-chocolate-dust-79")
model = AutoModelForObjectDetection.from_pretrained("AmineAllo/MT-chocolate-dust-79", device_map="auto")