Try updating Keras as I also faced similar error and updating repositories helped.
Update keras using github link in terminal
git clone https://github.com/fchollet/keras.git. In terminal redirect to location and run
sudo python3 setup.py install. Hope this helps you too.
"hope this helps" etc are pure clutter - please refrain from including them in your posts
desertnaut
- 60.9k
- 32
- 158
- 184