Tony607/Keras-Trigger-Word

Device is detected in the system why not in the code?!

Opened this issue · 0 comments

So I am using a dedicated USB mic for RPI. It is detected in the computer and all able to record audio in browser and in local software. But for some reason I get this:

/home/harshil/Downloads/kerass/try1/lib/python3.6/site-packages/keras/models.py:318: UserWarning: Error in loading the saved optimizer state. As a result, your model is starting with a freshly initialized optimizer.
warnings.warn('Error in loading the saved optimizer '
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map

And there are other usual tensorflow warnings but they are not the issue I guess. Please can someone tell me what can i do to overcome this???