Qengineering / TensorFlow_Lite_SSD_RPi_64-bits

TensorFlow Lite SSD on bare Raspberry Pi 4 with 64-bit OS at 24 FPS
https://qengineering.eu/install-ubuntu-18.04-on-raspberry-pi-4.html
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

Newcomer's Basic Questions #7

Open faithmaker opened 1 year ago

faithmaker commented 1 year ago

*. Code : MobileNetV1.cpp .... cout << "tensors size: " << interpreter->tensors_size() << "\n"; cout << "nodes size: " << interpreter->nodes_size() << "\n"; cout << "inputs: " << interpreter->inputs().size() << "\n"; cout << "input(0) name: " << interpreter->GetInputName(0) << "\n"; cout << "outputs: " << interpreter->outputs().size() << "\n"; ....

*. The output is something like this. use : detect.tflite tensors size: 184 nodes size: 64 inputs: 1 input(0) name: normalized_input_image_tensor outputs: 4 Fps : 28.5714

*. How I can change tensors_size, nodes size, outputs? use : mobilenet_v1_1.0_224_quant.tflite tensors size: 90 nodes size: 31 inputs: 1 input(0) name: input outputs: 1 Fps : 41.4583

use : mobilenet_v2_1.0_224_quant.tflite tensors size: 174 nodes size: 65 inputs: 1 input(0) name: input outputs: 1 Fps : 50

*. I want to increase my FPS in Mobilenet V1, V2

Qengineering commented 1 year ago

@faithmaker,

Where did you get the information about mobilenet_v1_1.0_224_quant.tflite from? Which repo?

faithmaker commented 1 year ago

https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet_v1.md