Open tiancaishaonvjituizi opened 7 years ago
I tried both the current code and version v0.7.0. The result are the same.
your id is very interesting and I think you can try to check the prototxt between the googlenet and squeeze net, the data layer may be the reason
@lzx1413 Thanks, I will check it. But net->ParseFromArray
simply returned false
with my own model while it works correctly on PC. :\
@tiancaishaonvjituizi have you checked the binary data and the length of the data
@tiancaishaonvjituizi i got the same problem. Have you solved this problem , and could you tell me how can i fix this problem ? i convert a caffemodel and seccess run it with caffe2 python API, but i found it return failed on Android : net->ParseFromArray return false
I have the same issue with the latest version of caffe2. Anyone works this out?
I builded caffe2 for android and used the generated files like the demo. Though the app works with the original squeezenet model, but when I changed the model to GoogLeNet (from caffe2 model zoo) or my own model, it doesn't work. The app stuck when using GoogLeNet, and
net->ParseFromArray(data, len)
returns false when loading my own model's init.pb. Even when I just added and changed model directly in the demo, I got the same result.