XiaoMi / mace

MACE is a deep learning inference framework optimized for mobile heterogeneous computing platforms.
Apache License 2.0
4.91k stars 817 forks source link

running example.cc using mobilenet-v2 #328

Closed gururaghavendraprasad closed 5 years ago

gururaghavendraprasad commented 5 years ago

While running example.cc in mace on imx8. i am getting following error. "input_node0' does not belong to model's inputs: [input]" where should i give input_node and what to give. mace engine is successfully initialized.

Thanks

nolanliou commented 5 years ago

You should use your model's input tensor name, and keep the name same between model deployment file(.yml) and inputs variable in C++.

gururaghavendraprasad commented 5 years ago

thanks for the reply !! can you specify where we should do that ? I got to know the message is getting printed in "//Set storage path for internal usage" block in C++ file

gururaghavendraprasad commented 5 years ago

thanks for the reply !! can you specify where we should do that ? I got to know the message is getting printed in "//Set storage path for internal usage" block in C++ file

gururaghavendraprasad commented 5 years ago

Another thing I am not running example using python script (converter.py) I have done convert operation but while running I am running giving all the required parameters outside ! Im running ./example --parameters

nolanliou commented 5 years ago

what is your model's input tensor name?

gururaghavendraprasad commented 5 years ago

Thanks for the help !! I got it.