Download models/U-2-Net/preprocessor_config.json from niobures/U2-Net: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/niobures/U2-Net/resolve/main/models/U-2-Net/preprocessor_config.json
- Command line
-
hf download hf://niobures/U2-Net/models/U-2-Net/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/niobures/U2-Net/resolve/main/models/U-2-Net/preprocessor_config.json
438 Bytes
| { | |
| "processor_class": "U2NetProcessor", | |
| "image_processor_type": "U2NetImageProcessor", | |
| "do_convert_rgb": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "keep_aspect_ratio": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "pad_size": { | |
| "width": 320, | |
| "height": 320 | |
| }, | |
| "size": { | |
| "longest_edge": 320 | |
| } | |
| } | |