Instructions to use nvidia/C-RADIOv4-H with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/C-RADIOv4-H with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="nvidia/C-RADIOv4-H", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nvidia/C-RADIOv4-H", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from nvidia/C-RADIOv4-H: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/nvidia/C-RADIOv4-H/resolve/refs%2Fpr%2F4/preprocessor_config.json
- Command line
-
hf download hf://nvidia/C-RADIOv4-H@refs/pr/4/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/nvidia/C-RADIOv4-H/resolve/refs%2Fpr%2F4/preprocessor_config.json
331 Bytes
| { | |
| "crop_size": { | |
| "height": 512, | |
| "width": 512 | |
| }, | |
| "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": 512 | |
| } | |
| } |