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