| { | |
| "preprocessor_name": "your_preprocessor_name", | |
| "preprocessing_steps": [ | |
| { | |
| "step_name": "step_1", | |
| "step_type": "resize", | |
| "parameters": { | |
| "width": 640, | |
| "height": 480 | |
| } | |
| }, | |
| { | |
| "step_name": "step_2", | |
| "step_type": "normalize", | |
| "parameters": { | |
| "mean": [0.485, 0.456, 0.406], | |
| "std": [0.229, 0.224, 0.225] | |
| } | |
| }, | |
| { | |
| "step_name": "step_3", | |
| "step_type": "augmentation", | |
| "parameters": { | |
| "augmentation_type": "random_flip", | |
| "probability": 0.5 | |
| } | |
| } | |
| ] | |
| } | |