| { | |
| "pre": [ | |
| { | |
| "background_color": "white", | |
| "interpolation": "bilinear", | |
| "size": [ | |
| 512, | |
| 512 | |
| ], | |
| "type": "pad_to_size" | |
| } | |
| ], | |
| "test": [ | |
| { | |
| "background_color": "white", | |
| "interpolation": "bilinear", | |
| "size": [ | |
| 512, | |
| 512 | |
| ], | |
| "type": "pad_to_size" | |
| }, | |
| { | |
| "antialias": true, | |
| "interpolation": "bicubic", | |
| "max_size": null, | |
| "size": 448, | |
| "type": "resize" | |
| }, | |
| { | |
| "size": [ | |
| 448, | |
| 448 | |
| ], | |
| "type": "center_crop" | |
| }, | |
| { | |
| "type": "maybe_to_tensor" | |
| }, | |
| { | |
| "mean": [ | |
| 0.48500001430511475, | |
| 0.4560000002384186, | |
| 0.4059999883174896 | |
| ], | |
| "std": [ | |
| 0.2290000021457672, | |
| 0.2240000069141388, | |
| 0.22499999403953552 | |
| ], | |
| "type": "normalize" | |
| } | |
| ], | |
| "val": [ | |
| { | |
| "background_color": "white", | |
| "interpolation": "bilinear", | |
| "size": [ | |
| 512, | |
| 512 | |
| ], | |
| "type": "pad_to_size" | |
| }, | |
| { | |
| "antialias": true, | |
| "interpolation": "bicubic", | |
| "max_size": null, | |
| "size": 448, | |
| "type": "resize" | |
| }, | |
| { | |
| "size": [ | |
| 448, | |
| 448 | |
| ], | |
| "type": "center_crop" | |
| }, | |
| { | |
| "type": "maybe_to_tensor" | |
| }, | |
| { | |
| "mean": [ | |
| 0.48500001430511475, | |
| 0.4560000002384186, | |
| 0.4059999883174896 | |
| ], | |
| "std": [ | |
| 0.2290000021457672, | |
| 0.2240000069141388, | |
| 0.22499999403953552 | |
| ], | |
| "type": "normalize" | |
| } | |
| ] | |
| } |