drone-detector-tinyml-v2c1 / v2_deploy /model_metadata.json
Umranz's picture
Publish original V2C1 INT8 acoustic model with reference inference and evaluation
6fc6034 verified
Raw History Blame Contribute Delete
2.6 kB
{
"model": "V2C1",
"frontend": {
"sample_rate_hz": 16000,
"clip_seconds": 1.0,
"clip_samples": 16000,
"bandpass_hz": [
100.0,
6000.0
],
"filter_order": 4,
"n_fft": 512,
"hop_length": 512,
"n_mels": 32,
"n_frames": 32,
"fmin_hz": 100.0,
"fmax_hz": 6000.0,
"log_offset": 1e-06,
"mel_scale": "HTK",
"filterbank_normalisation": "Slaney",
"input_shape": [
32,
32,
1
],
"frames_require_centre_padding": true,
"frames_without_centre_padding": 31
},
"normalisation": {
"mode": "global",
"logmel_mean": -7.041979789733887,
"logmel_std": 4.118093490600586,
"applied": "(x - logmel_mean) / (logmel_std + 1e-6)",
"note": "must be applied on-device exactly; these are not defaults"
},
"quantisation": {
"input_dtype": "<class 'numpy.int8'>",
"output_dtype": "<class 'numpy.int8'>",
"input_scale": 0.018346942961215973,
"input_zero_point": -38,
"output_scale": 0.00390625,
"output_zero_point": -128,
"fully_integer": true,
"ops": [
"CONV_2D",
"DELEGATE",
"FULLY_CONNECTED",
"MAX_POOL_2D",
"MEAN",
"SOFTMAX"
]
},
"decision": {
"threshold_f1_optimal": 0.4684000015258789,
"threshold_recall90": 0.5917999744415283
},
"artifacts": {
"drone_model_int8.tflite": {
"bytes": 40200,
"sha256": "e2e4e4b0e49d50f0d3c0b2129240564ec84b93b4c252651ef10b82560b9d72ae",
"blake2b": "e9129ad492b2377dc9ab09518573481d792f2cbfa9c1ab381f2dcbf16252edc9"
},
"drone_model_float32.tflite": {
"bytes": 124148,
"sha256": "07da0ca4fea133fd68153585f72742f8e49808d37df05900cbe2d67838afbca8",
"blake2b": "3f2e3213e0ae06df55033514073ff378c4e461ab7dd47d6ec4f6a5e33753ed17"
},
"model_data.h": {
"bytes": 258226,
"sha256": "a7acc9b04a895ba6ccb3fcd025dfe3a00579ae6a87f6fb1565c661f494ed5f8d",
"blake2b": "728a6afe0f7c0a3829ee69afcfade1a00cdfb71309d2187569f847ec2c373208"
},
"mel_filterbank.npy": {
"bytes": 33024,
"sha256": "b614c5282425d739397894b1bb86b73f86e2db96b28c9f3d6ee5b057162bd069",
"blake2b": "2c6df82bfe5dcea94cfbc012f2188918bcc00d89055fe37a8bc79a772e42b438"
},
"mel_filterbank.h": {
"bytes": 211397,
"sha256": "aefe003aa6fb9adfdb29168391b451a4ce969706bcca242ad02096ce6eda54d1",
"blake2b": "1f887430d9433cb4adbabb71205ff8c481d5de96c82e92f6fd8324a6ae938715"
}
},
"model_data_h_round_trip_ok": true
}