Instructions to use nvidia/RADIO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/RADIO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="nvidia/RADIO", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nvidia/RADIO", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": false,
|
| 9 |
"do_rescale": true,
|
| 10 |
-
"do_resize":
|
| 11 |
"image_processor_type": "CLIPImageProcessor",
|
| 12 |
"processor_class": "CLIPProcessor",
|
| 13 |
"resample": 3,
|
|
|
|
| 7 |
"do_convert_rgb": true,
|
| 8 |
"do_normalize": false,
|
| 9 |
"do_rescale": true,
|
| 10 |
+
"do_resize": false,
|
| 11 |
"image_processor_type": "CLIPImageProcessor",
|
| 12 |
"processor_class": "CLIPProcessor",
|
| 13 |
"resample": 3,
|