mxnet-ssd.cpp icon indicating copy to clipboard operation
mxnet-ssd.cpp copied to clipboard

some problems raised when I trying to update libmxnet.lib and rebuild this repo

Open rocknamx8 opened this issue 6 years ago • 0 comments

Platform: windows10 Mxnet version: mxnet-cu92mkl 1.4.0 IDE: visual studio 2015 Update 3

I have trained an SSD model in python via my own dataset. Now, I want to deploy it in cpp, and I found this repo. But when I run the ssd.exe demo some problems raised like #17 . So I have to replace the lib files(e.g. libmxnet.lib) with the new version one. 
However, It doesn't work, I try to debug it. And I found a function from c_predict_api doesn't work.

Snipaste_2019-03-13_15-28-15 If it works, the variable flag will be 0 but get -1 means fail. Besides, the value predictor_ haven't changed means the MXPredCreate do not assign a new handle to predictor_. After MXPredCreate, I use MXGetLastError and found below message:

Failed loading Op relu4_3_scale of type Scale: [16:40:55] D:\incubator-mxnet\3rdparty\tvm\nnvm\src\core\op.cc:55: Check failed: op != nullptr Operator Scale is not registered

rocknamx8 avatar Mar 13 '19 07:03 rocknamx8