Instructions to use RationAI/LSP-DETR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RationAI/LSP-DETR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="RationAI/LSP-DETR", trust_remote_code=True)# Load model directly from transformers import AutoModelForObjectDetection model = AutoModelForObjectDetection.from_pretrained("RationAI/LSP-DETR", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files- preprocessor_config.json +1 -0
preprocessor_config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"data_format": "channels_first",
|
| 7 |
"default_to_square": true,
|
| 8 |
"device": null,
|
|
|
|
| 9 |
"do_center_crop": null,
|
| 10 |
"do_convert_rgb": null,
|
| 11 |
"do_normalize": true,
|
|
|
|
| 6 |
"data_format": "channels_first",
|
| 7 |
"default_to_square": true,
|
| 8 |
"device": null,
|
| 9 |
+
"disable_grouping": null,
|
| 10 |
"do_center_crop": null,
|
| 11 |
"do_convert_rgb": null,
|
| 12 |
"do_normalize": true,
|