Closed liuyi999111 closed 7 years ago
Can you let me know which CNN you tried to convert?
My fellow give it to me. It used to detect key points in a face.
caffmodle2cnndroid.zip
I find it crash when execute this line import caffe
.
_Make sure that Caffe is on the python path: Caffe installation path: cafferoot = '/home/user/caffe/'
Caffe must installed on your system and caffe_root is path to folder to your Caffe installation.
I successfully converted your Caffe model with the provided script. As Maxim also suggested the problem should be with your pycaffe or path variable setup.
the problem be with my pycaffe
When I convert caffe model files, It's crashed. There is some information: python(68083,0x7fffa53b73c0) malloc: *** malloc_zone_unregister() failed for 0x7fffa53ad000 Illegal instruction: 4 OS: macOs 10.12.1