your model doesn't match to your deploy.txt
lcaikk1314 opened this issue · 4 comments
lcaikk1314 commented
when run"./build/examples/cpp_recognition/recognition.bin data/captcha/1.png examples/crnn/deploy.prototxt examples/crnn/model/crnn_captcha.caffemodel",error show "Cannot copy param 0 weights from layer 'conv0'; shape mismatch. Source param shape is 64 3 3 3 (1728); target param shape is 64 1 3 3 (576). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer."
yalecyu commented
I update my prototxt, but the caffemodel is't update. You can retrain the caffemodel. If there is freetime, I will update the caffemodel. @ManiroXi @lcaikk1314
azuryl commented
or can you tell me the old prototxt