安装keras完整Ng作业

先查看,TensorFlow和你keras对应版本
https://docs.floydhub.com/guides/environments/

为了完成作业,我的版本是:
TensorFlow 1.2.0 + Keras 2.0.6 on Python 3.5.

安装:

pip install keras==2.0.6 -i https://pypi.tuna.tsinghua.edu.cn/simple/

-i https://pypi.tuna.tsinghua.edu.cn/simple/ 是用来加速的,建议加上

完成作业还得安装一个pydot

pip install pydot -i https://pypi.tuna.tsinghua.edu.cn/simple/
原文地址:https://www.cnblogs.com/douzujun/p/13157401.html