commit | f7d52957f418d162cdb4231d90abcf773fa5d145 | [log] [tgz] |
---|---|---|
author | Naveen Dodda <ndodda@google.com> | Mon Apr 08 20:15:42 2024 +0000 |
committer | Naveen Dodda <ndodda@google.com> | Tue Apr 09 01:07:51 2024 +0000 |
tree | 00f5433f1d2eecad036954016c97f7ed6be06eaa | |
parent | 6bce20ebe35e29207271e5e6775f463e9a3ff7ad [diff] |
Adding Mobilenet v1 and v2 to public models. *Models are used in frequent benchmark test. Change-Id: Ie2371b94012db62302a079591dbd7c5c53826bb1
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.