commit | 3a6d6ceb0ecab5c44bb378f4d460239d63562972 | [log] [tgz] |
---|---|---|
author | Lun Dong <lundong@google.com> | Sat Sep 03 11:45:03 2022 -0700 |
committer | Lun Dong <lundong@google.com> | Tue Sep 06 11:14:32 2022 -0700 |
tree | cb98c7bce7ac44ab20b682279ef78d4804145694 | |
parent | 2e99517d38fab6519e2335f92117bbbe7320e620 [diff] |
Public models: CMakeLists update for accommodating latest API update on bytecode and c module compilation. Update on CmakeLists to accommodate latest API update on bytecode and c module compilation for public models. Change-Id: Ife4ed2625da3031443ae5acdb4e3a54d9b1889a9
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
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.