Fix preprocessor_config: old ViTFeatureExtractor API → ViTImageProcessor, integer size → dict
96406a9 verified Download preprocessor_config.json from RaidenIppen/umm-onnx: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/RaidenIppen/umm-onnx/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://RaidenIppen/umm-onnx/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/RaidenIppen/umm-onnx/resolve/main/preprocessor_config.json
363 Bytes
| { | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_processor_type": "ViTImageProcessor", | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "resample": 3, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": { | |
| "height": 224, | |
| "width": 224 | |
| } | |
| } | |