Instructions to use Blueway/inference-endpoint-for-omdet-turbo-swin-tiny-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Blueway/inference-endpoint-for-omdet-turbo-swin-tiny-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="Blueway/inference-endpoint-for-omdet-turbo-swin-tiny-hf")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("Blueway/inference-endpoint-for-omdet-turbo-swin-tiny-hf") model = AutoModelForZeroShotObjectDetection.from_pretrained("Blueway/inference-endpoint-for-omdet-turbo-swin-tiny-hf") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_convert_annotations": true, | |
| "do_normalize": true, | |
| "do_pad": false, | |
| "do_rescale": false, | |
| "do_resize": true, | |
| "format": "coco_detection", | |
| "image_mean": [ | |
| 123.675, | |
| 116.28, | |
| 103.53 | |
| ], | |
| "image_processor_type": "DetrImageProcessor", | |
| "image_std": [ | |
| 58.395, | |
| 57.12, | |
| 57.375 | |
| ], | |
| "pad_size": null, | |
| "processor_class": "OmDetTurboProcessor", | |
| "resample": 2, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 640, | |
| "width": 640 | |
| } | |
| } | |