After a half-day attempt, I think i should share my running environment for the code.
Something following may help to avoid potential issues:
#1 Ubuntu 16.04 (If you want to run your model with GPU and python=2.7)
#2 Keras = 1.2.2 (as pplonski suggested, there is something wrong with Keras 2.x)
#3 theano = 0.9#4 Make sure your .keras.json as follows which is different from Keras 2.X
After a half-day attempt, I think i should share my running environment for the code. Something following may help to avoid potential issues:
#1 Ubuntu 16.04 (If you want to run your model with GPU and python=2.7) #2 Keras = 1.2.2 (as pplonski suggested, there is something wrong with Keras 2.x) #3 theano = 0.9 #4 Make sure your .keras.json as follows which is different from Keras 2.X
Ps: ImportError: cannot import name inplace_increment ↓ Open your Teminal and input
theano-cache purge
Sincerely thanks for your great work @pplonski :smiley:
Looking forward to the Keras 2.X methods and examples since it's so popular.