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