Transformers How to use tonyassi/foot-detection-2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="tonyassi/foot-detection-2") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("tonyassi/foot-detection-2")
model = AutoModelForObjectDetection.from_pretrained("tonyassi/foot-detection-2")