ml-sound-classifier icon indicating copy to clipboard operation
ml-sound-classifier copied to clipboard

ValueError: Cannot feed value of shape (1, 128, 128, 1) for Tensor 'import/input_1:0', which has shape '(?, 64, 64, 1)'

Open kubs0ne opened this issue 4 years ago • 0 comments

Hello, I'm trying to test the cnn laser machine listener with realtime predictor from this repository. When I execute the command:

python realtime_predictor.py -pb apps/cnn-laser-machine-listener/cnn-model-laser-machine-listener.pb

The following error occurs:

ValueError: Cannot feed value of shape (1, 128, 128, 1) for Tensor 'import/input_1:0', which has shape '(?, 64, 64, 1)'

How can I resolve this problem? As I understand the pb file is not compatible with the realtime_predictor.py. Can I make it compatible? Regards

kubs0ne avatar Nov 09 '20 11:11 kubs0ne