# Load model directly
from transformers import AutoModelForObjectDetection
model = AutoModelForObjectDetection.from_pretrained("TheNobody-12/HelmetDETA", dtype="auto")Quick Links
# Load model directly
from transformers import AutoModelForObjectDetection
model = AutoModelForObjectDetection.from_pretrained("TheNobody-12/HelmetDETA", dtype="auto")
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="TheNobody-12/HelmetDETA")