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
| { | |
| "crop_size": { | |
| "height": 432, | |
| "width": 432 | |
| }, | |
| "do_center_crop": false, | |
| "do_convert_rgb": true, | |
| "do_normalize": false, | |
| "do_rescale": true, | |
| "do_resize": false, | |
| "image_processor_type": "CLIPImageProcessor", | |
| "processor_class": "CLIPProcessor", | |
| "resample": 3, | |
| "size": { | |
| "shortest_edge": 432 | |
| } | |
| } |