Instructions to use ustc-community/dfine-medium-obj2coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
578b7a2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:eb418ee9bcbaf052f57e71a695bad9af653355cef8defd547c8be75e9ab90bd8
size 78699728
|