How to use Cheaple/my-detr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Cheaple/my-detr")
# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Cheaple/my-detr") model = AutoModelForObjectDetection.from_pretrained("Cheaple/my-detr")
What is a pickle import?