Download bundle/preprocessing.json from asgersvenning/MAMBO-v3: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/asgersvenning/MAMBO-v3/resolve/main/bundle/preprocessing.json
- Command line
-
hf download hf://asgersvenning/MAMBO-v3/bundle/preprocessing.json
-
curl -L -o preprocessing.json https://huggingface.co/asgersvenning/MAMBO-v3/resolve/main/bundle/preprocessing.json
595 Bytes
| { | |
| "id": "nearest-square-uint8-bilinear-center-imagenet-v1", | |
| "decode": "RGB; discard alpha; ignore EXIF orientation", | |
| "input": "uint8 CHW/BCHW or image paths; float images must be in [0,1]", | |
| "square_size": 384, | |
| "resize_size": 438, | |
| "crop_size": 384, | |
| "nearest_coordinates": "floor(float32(output_index) * float32(source_size/384))", | |
| "bilinear": "half-pixel coordinates; edge clamp; round to uint8 before normalization", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "output": "float32 NCHW; RGB/255 then channel normalization" | |
| } | |