commit | 120a662d9b37ed645c5489440af389835bfeda9d | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Thu Apr 18 10:13:54 2024 -0700 |
committer | Alex Van Damme <atv@google.com> | Tue Apr 30 09:43:38 2024 -0700 |
tree | 4db6495fa4ebe7fa2df5e20e5d82e928513b75b7 | |
parent | 8381f479cd611dc744cc253b9c29c9841120f4fb [diff] |
Add mlperf_tiny benchmark targets Change-Id: I38505ccc64da6168804ac56d8582c9791069f53a
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.