commit | dce27ebe9a07235a1f57abad62c9581c817d3178 | [log] [tgz] |
---|---|---|
author | Lun Dong <lundong@google.com> | Tue Oct 24 09:08:43 2023 -0700 |
committer | Lun Dong <lundong@google.com> | Tue Oct 24 19:22:03 2023 +0000 |
tree | 56764f47fa56281979428298a74117eaa21b16a5 | |
parent | 9cc06144a29db45ca4d539a0faba41e007a4dd1a [diff] |
ml/ml-models-public: initial oss cleanup Main changes are on format, header, readme, license files. Passed go/cross check. Further improvements (e.g., naming, comments) may be needed. BUG: 306427497 Change-Id: I05e8543cb2a2edf10f5b3b13388a760a4e18692b
This is the model zoo for public models used in Shodan vector core examples.
The person presence detection quantized model from https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/models/person_detect.tflite
Mobilenet V1 float-point model from https://tfhub.dev/tensorflow/lite-model/mobilenet_v1_0.25_224/1/default/1?lite-format=tflite
Mobilenet V1 quantized model from https://tfhub.dev/tensorflow/lite-model/mobilenet_v1_0.25_224_quantized/1/default/1?lite-format=tflite
Mobilenet V2 quantized model from https://tfhub.dev/tensorflow/lite-model/mobilenet_v2_1.0_224_quantized/1/default/1?lite-format=tflite
HPS (Human Presence Sensor) non-tiled quantized model from https://chromium.googlesource.com/chromiumos/platform/hps-firmware/+/6cdea6d1158a8cd3238b8ae4f744fdb494779c80/models/shared.tflite
For tflite models, use the web-based visualization tool to inspect the file. The tool supports drag and drop or file GUI.
Test data for sample model inputs are in the “test_data” directory. Currently, only test data for the Human Presence Sensor model are included.
Test image files for Human Presence Sensor model, from ChromeOS codebase.
For each model, the corresponding model executable under iree_exec
can be built with the .c/.h files using sw/vec_iree
project as library. They can be run as unit tests via lit framework using Renode or QEMU.