OAID / Tengine

Tengine is a lite, high performance, modular inference engine for embedded device
Apache License 2.0
4.66k stars 997 forks source link

Convert MobileNet ssd CAFFE model using Tengine. #818

Open AkkiSony opened 3 years ago

AkkiSony commented 3 years ago

I have already worked with converting Yolov3 to .tmfile (uint8) and monitored the inference time on VIM3 Khadas board. Similarly, I have converted mobilenet.caffemodel model into uint8 format. For inference of Yolov3, I used the pre built code from tengine by cloning - git clone https://gitlab.com/khadas/tengine_khadas_app.git

Is there a similar repo for Mobilenet caffe model aswell? @BUG1989

Thank you! :)

AkkiSony commented 3 years ago

Hi, I am using a pre trained MobileNet SSD caffe model from https://github.com/chuanqi305/MobileNet-SSD. Using the Tnegine tools, I copnverted the model into .tmfile (uint8) format. Now, I came across this file on examples folder in Tengine repository : https://github.com/OAID/Tengine/blob/tengine-lite/examples/tm_mobilenet_ssd_uint8.cpp Does the above .cpp file, do the post processing for MobileNet SSD and inference? Is this file similar to https://docs.khadas.com/vim3/HowToUseTengineApp.html ?

Please help me, I need to get Mobilenet model running on NPU on Khadas VIM3!

Thank you for your time! :)