Training in progress, step 50 50787a8
Amine commited on
How to use AmineAllo/MT-glad-cherry-91 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="AmineAllo/MT-glad-cherry-91") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("AmineAllo/MT-glad-cherry-91")
model = AutoModelForObjectDetection.from_pretrained("AmineAllo/MT-glad-cherry-91", device_map="auto")