Running Environment Setting for the Code
GuokaiLiu opened this issue · 0 comments
GuokaiLiu commented
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
{
"image_dim_ordering": "th",
"epsilon": 1e-07,
"floatx": "float32",
"backend": "theano"
}
Ps:
ImportError: cannot import name inplace_increment
↓
Open your Teminal and input theano-cache purge
Sincerely thanks for your great work @pplonski 😃
Looking forward to the Keras 2.X methods and examples since it's so popular.