| { | |
| "preprocessing": { | |
| "image_size": [ | |
| 224, | |
| 224 | |
| ], | |
| "color_mode": "rgb", | |
| "normalization": { | |
| "rescale": 0.00392156862745098, | |
| "description": "Pixel values normalized to [0,1]" | |
| }, | |
| "data_format": "channels_last" | |
| }, | |
| "data_pipeline": { | |
| "training_augmentation": { | |
| "rotation_range": 20, | |
| "width_shift_range": 0.2, | |
| "height_shift_range": 0.2, | |
| "horizontal_flip": true, | |
| "zoom_range": 0.2, | |
| "shear_range": 0.2, | |
| "fill_mode": "nearest" | |
| }, | |
| "validation_processing": { | |
| "rescale_only": true | |
| } | |
| }, | |
| "input_requirements": { | |
| "image_formats": [ | |
| ".jpg", | |
| ".jpeg", | |
| ".png" | |
| ], | |
| "color_channels": 3, | |
| "expected_range": [ | |
| 0, | |
| 255 | |
| ], | |
| "batch_processing": true | |
| }, | |
| "output_processing": { | |
| "prediction_threshold": 0.5, | |
| "class_mapping": { | |
| "negative": 0, | |
| "positive": 1 | |
| }, | |
| "confidence_scoring": true | |
| }, | |
| "compatibility": { | |
| "framework": "tensorflow", | |
| "versions": [ | |
| "2.x" | |
| ], | |
| "formats": [ | |
| ".h5", | |
| ".tflite" | |
| ] | |
| } | |
| } |