caffe-speech-recognition icon indicating copy to clipboard operation
caffe-speech-recognition copied to clipboard

Check failed: ShapeEquals(proto) shape mismatch (reshape not set) ..?

Open JoshuaBatty opened this issue 8 years ago • 5 comments

Hey pannous, I managed to train the model over night and now trying to run the test-speech-recognition.ipynb.

For some reason i'm getting the following

F0722 12:16:15.248998 2071900928 blob.cpp:455] Check failed: ShapeEquals(proto) shape mismatch (reshape not set) *** Check failure stack trace: ***

Have you come across this before? Or know what might be causing that error in the script?

Also I had to change the following line of code from: net = caffe.Net(model,weights)

to: net = caffe.Net(model,weights,caffe.TEST)

Thanks.

JoshuaBatty avatar Jul 22 '15 02:07 JoshuaBatty

Looks like caffe lost the ability to read monochrome images: the is_color: false flag was removed

Investigating the options ...

pannous avatar Aug 07 '15 08:08 pannous

Ok great, good to know it wasn't some error on my end. Looking forward to any potential solutions....

JoshuaBatty avatar Aug 09 '15 23:08 JoshuaBatty

Hi Pannous, if we used RGB Spectrograms like in the image below would that be a possible work around?

sxfft1

JoshuaBatty avatar Aug 16 '15 23:08 JoshuaBatty

Hi Joshua,

you probably solved this yourself by now. If not: Yes, the pipeline could easily be reconfigured to consume colored spectrographs. Do you have a data dump available or was that just an example image?

pannous avatar Nov 04 '15 20:11 pannous

Hi JoshuaBatty! I have met the same error with yours,it shows like: I0416 19:15:01.163847 31334 net.cpp:235] This network produces output prob I0416 19:15:01.164002 31334 net.cpp:482] Collecting Learning Rate and Weight Decay. I0416 19:15:01.164043 31334 net.cpp:247] Network initialization done. I0416 19:15:01.164062 31334 net.cpp:248] Memory required for data: 545512320 F0416 19:15:01.288144 31334 blob.cpp:455] Check failed: ShapeEquals(proto) shape mismatch (reshape not set) *** Check failure stack trace: ***

How did you solve it at last?Do you have any ideas?Thanks very much!

sunshinehuo avatar Apr 16 '16 11:04 sunshinehuo