Thanks for your work on baby cry prediction. I wanted to try it...I actually setup and generated egg & pkl files in PC, and docker is up on my rpi3 and mic and speaker are setup and tested with aplay & arecord...then i tried to run the "run.sh" played some baby cry audios....but it not able to predict below is the log...
root@raspberrypi:/opt/baby_cry_rpi/script# script/run.sh
bash: script/run.sh: No such file or directory
root@raspberrypi:/opt/baby_cry_rpi/script# cd ..
root@raspberrypi:/opt/baby_cry_rpi# script/run.sh
Welcome to Parenting 2.1
Start Recording...
Recording WAVE '/opt/baby_cry_rpi/recording/signal_9s.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Predicting...
What is the prediction? /usr/local/lib/python2.7/dist-packages/librosa/init.py:40: DeprecationWarning: You are using librosa with Python 2. Please note that librosa 0.7 will be the last version to support Python 2, after which it will require Python 3 or later.
DeprecationWarning)
Prediction is 0
State of the Process PREDICTION = 0, PLAYING=0, # TIMES MY BABY CRIED=0
Start Recording...
Recording WAVE '/opt/baby_cry_rpi/recording/signal_9s.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
Predicting...
What is the prediction? /usr/local/lib/python2.7/dist-packages/librosa/init.py:40: DeprecationWarning: You are using librosa with Python 2. Please note that librosa 0.7 will be the last version to support Python 2, after which it will require Python 3 or later.
DeprecationWarning)
Hi Giulbia,
Thanks for your work on baby cry prediction. I wanted to try it...I actually setup and generated egg & pkl files in PC, and docker is up on my rpi3 and mic and speaker are setup and tested with aplay & arecord...then i tried to run the "run.sh" played some baby cry audios....but it not able to predict below is the log...
any help will be appreciated.
thanks in advance :)
Rgds, ~~DG