micmon
micmon copied to clipboard
Error 21
First of all, great code, I like it. I am newbe a python with my raspberry pi. I read your article ,"towardsdatascience.com/create-your-own-smart-baby-monitor-with-a-raspberrypi". I have this error with the train.py and I don't understand what is the problem, any hint will be appreciated:
Traceback (most recent call last):
File "train.py", line 54, in
I was having the same problem. In my case it was caused by the version of Tensorflow installed by pip on Raspberry by default being too old (1.14.0 in my case). Changing to the newest version fixed this (see e.g. this guide https://towardsdatascience.com/3-ways-to-install-tensorflow-2-on-raspberry-pi-fe1fa2da9104). Looks like there were a lot of changes in Tensorflow 2.0, including how output is written. See also https://github.com/BlackLight/micmon/issues/1#issuecomment-770771096.