I am trying to run keras for the first time. I installed the modules with:
pip install keras --user
pip install tensorflow --user
and then tried to run https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.py.
However it gives me:
AttributeError: 'module' object has no attribute 'control_flow_ops'
These are the versions I am using.
print tensorflow.__version__
0.11.0rc0
print keras.__version__
1.1.0
What can I do to get keras to run with tensorflow?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…