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