Instructions to use ustc-community/dfine-nano-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ustc-community/dfine-nano-coco with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ustc-community/dfine-nano-coco")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForObjectDetection tokenizer = AutoTokenizer.from_pretrained("ustc-community/dfine-nano-coco") model = AutoModelForObjectDetection.from_pretrained("ustc-community/dfine-nano-coco", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fix weights (#1)
Verified signature- Fix weights (c95fb3e10c4ecefb9aada680502cfcce82b4d131)066438d
-
Add image processor from convert_d_fine_original_pytorch_checkpoint_to_hf.py
Verified signature3928267