table-transformer-stoic-snow-1 c59a63f
Amine commited on
How to use AmineAllo/stoic-snow-1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="AmineAllo/stoic-snow-1") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("AmineAllo/stoic-snow-1")
model = AutoModelForObjectDetection.from_pretrained("AmineAllo/stoic-snow-1", device_map="auto")