Download preprocess.json from DeepFakeDetector/cnn-transfer-final: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/DeepFakeDetector/cnn-transfer-final/resolve/main/preprocess.json
- Command line
-
hf download hf://DeepFakeDetector/cnn-transfer-final/preprocess.json
-
curl -L -o preprocess.json https://huggingface.co/DeepFakeDetector/cnn-transfer-final/resolve/main/preprocess.json
387 Bytes
| { | |
| "input_size": [ | |
| 224, | |
| 224 | |
| ], | |
| "resize": { | |
| "enabled": true, | |
| "size": [ | |
| 224, | |
| 224 | |
| ] | |
| }, | |
| "center_crop": { | |
| "enabled": false | |
| }, | |
| "normalize": { | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ] | |
| }, | |
| "notes": "Resize to IM_SIZE x IM_SIZE then normalize with ImageNet mean/std." | |
| } |