You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @starimeL . I use this converter to convert my model of trained MTCNN, from pytorch to caffe.
I also convert it to NCNN to test if the error comes from my network or binary file, but it runs well in NCNN. But I convert it to caffe *.prototxt and *.caffemodel. It causes exception when running:
pnet_ = new caffe::Net<float>(".\\models\\PNet.prototxt", caffe::TEST);
pnet_->CopyTrainedLayersFrom(".\\models\\PNet.caffemodel");
The error log:
Cannot copy param 0 weights from layer 'PReLU_1'; shape mismatch. Source param shape is 1 (1); target param shape is 10 (10). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
*** Check failure stack trace: ***
Hi, @starimeL . I use this converter to convert my model of trained MTCNN, from pytorch to caffe.
I also convert it to NCNN to test if the error comes from my network or binary file, but it runs well in NCNN. But I convert it to caffe *.prototxt and *.caffemodel. It causes exception when running:
The error log:
The network:
Thank you.
The text was updated successfully, but these errors were encountered: