cerndb / dist-keras

Distributed Deep Learning, with a focus on distributed training, using Keras and Apache Spark.
http://joerihermans.com/work/distributed-keras/
GNU General Public License v3.0
623 stars 169 forks source link

Regarding compatibility between Python, Tensorflow and dist-keras #55

Closed anishsharma closed 6 years ago

anishsharma commented 6 years ago

Hi JoeriHermans,

I am using python 2.7 and have install Keras 2.1.4. Now when I trying to run your MNIST example, it gave me a "ImportError: No module named tensorflow" error. I went ahead and tried to install tensorflow via pip. I am on Windows 10 64 bit. As it turns out on windows, tensorflow only supports Python 3. So I am stuck here because in dist-keras description, it was mentioned that it has compatibly issues with python 3. I want my setup to be perfect so that I shouldn't face any issues going forward. Also, I am leaning towards python 2.7 because of better library support. For example, the other day I was installing Cassandra and the server was not starting on python 3 but work well in python 2.7. Please advice on how can I make keras and dist-keras work with tensorflow on windows 10 64 bit platform with python 2.7.

Thanks & Regards Anish Sharma

JoeriHermans commented 6 years ago

The framework is compliant with Python 3. Should not give any problems. If any occur, feel free to re-open.

Joeri