Instructions to use ustc-community/dfine-xlarge-obj2coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ustc-community/dfine-xlarge-obj2coco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ustc-community/dfine-xlarge-obj2coco")# Load model directly from transformers import AutoTokenizer, AutoModelForObjectDetection tokenizer = AutoTokenizer.from_pretrained("ustc-community/dfine-xlarge-obj2coco") model = AutoModelForObjectDetection.from_pretrained("ustc-community/dfine-xlarge-obj2coco") - Notebooks
- Google Colab
- Kaggle
Ctrl+K