Arch-Building-Image-Classification / preprocessor_config.json
0xgr3y's picture
Upload folder using huggingface_hub
202ce04 verified
Raw
History Blame
760 Bytes
{
"image_processing": {
"size": {
"width": 320,
"height": 320
},
"resample": "bilinear",
"normalize": true,
"mode": "densenet_preprocess_input",
"channel_order": "RGB",
"mean": [123.675, 116.28, 103.53],
"std": [58.395, 57.12, 57.375],
"scale": 1.0,
"description": "Gunakan tf.keras.applications.densenet.preprocess_input untuk preprocessing otomatis. Untuk TF-Lite manual: RGB->BGR, subtract ImageNet mean. Catatan: preprocessor_config.json menyimpan 'BGR' untuk referensi DenseNet ImageNet, tapi densenet.preprocess_input() bekerja pada RGB input dan menangani konversi internal."
},
"input_name": "input_1",
"output_name": "output_1",
"input_shape": [1, 320, 320, 3],
"output_shape": [1, 6]
}