Download preprocessor_config.json from gatilin/unitok_large_visual_codec: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/gatilin/unitok_large_visual_codec/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://gatilin/unitok_large_visual_codec/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/gatilin/unitok_large_visual_codec/resolve/main/preprocessor_config.json
524 Bytes
| { | |
| "reference": "https://github.com/FoundationVision/UniTok/blob/bb8012e8e8d7be66928bedd80506c56a55ea6305/utils/data.py", | |
| "reference_function": "build_transforms: preprocess_val", | |
| "resize_shortest_edge": 256, | |
| "resize_interpolation": "PIL Lanczos", | |
| "center_crop": [256, 256], | |
| "convert_to_rgb": true, | |
| "to_tensor_scale": "uint8 / 255", | |
| "normalization": "tensor * 2 - 1", | |
| "layout": "NCHW", | |
| "notes": "This describes the native deterministic validation transform, not every downstream MLLM prompt processor." | |
| } | |