How to use ustc-community/dfine-medium-obj2coco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ustc-community/dfine-medium-obj2coco")
# Load model directly from transformers import AutoTokenizer, AutoModelForObjectDetection tokenizer = AutoTokenizer.from_pretrained("ustc-community/dfine-medium-obj2coco") model = AutoModelForObjectDetection.from_pretrained("ustc-community/dfine-medium-obj2coco")
The community tab is the place to discuss and collaborate with the HF community!