Instructions to use aguxez/snap-plate-stack-instance-dfine-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aguxez/snap-plate-stack-instance-dfine-v5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="aguxez/snap-plate-stack-instance-dfine-v5")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForObjectDetection tokenizer = AutoTokenizer.from_pretrained("aguxez/snap-plate-stack-instance-dfine-v5") model = AutoModelForObjectDetection.from_pretrained("aguxez/snap-plate-stack-instance-dfine-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from aguxez/snap-plate-stack-instance-dfine-v5: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/aguxez/snap-plate-stack-instance-dfine-v5/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://aguxez/snap-plate-stack-instance-dfine-v5/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/aguxez/snap-plate-stack-instance-dfine-v5/resolve/main/preprocessor_config.json
488 Bytes
| { | |
| "do_convert_annotations": true, | |
| "do_normalize": false, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "format": "coco_detection", | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "RTDetrImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "pad_size": { | |
| "height": 672, | |
| "width": 672 | |
| }, | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "max_height": 672, | |
| "max_width": 672 | |
| } | |
| } | |