revert d63fb2f
binit commited on
How to use binitt/hwars-buttons-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="binitt/hwars-buttons-model") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("binitt/hwars-buttons-model")
model = AutoModelForObjectDetection.from_pretrained("binitt/hwars-buttons-model")