Keras
(Chrome无法播放优酷? 网址框输入"chrome://settings/content/", 勾选允许 Flash Player. 实在不行? 请 点击这里)
安装
作者: 莫烦 编辑: 莫烦 2016-10-29
学习资料:
确认信息
- 在安装 Keras 之前, 需要确认自己已经安装好了 Numpy 和 Scipy. 可参考我的 Numpy 安装教程
- 因为 Keras 是基于 Tensorflow 或者 Theano 的. 所以可以先自己安装 Tensorflow 或者 Theano. 可参考我的Tensorflow 安装教程 或者 Theano 安装教程
- 安装 Keras. 在你的 Terminal 窗口中输入.
# 如果你是 python 2+ 版本, 复制下面
pip install keras
# 如果你是 python 3+ 版本, 复制下面
pip3 install keras
pip安装
如果你在安装过程中遇到了管理员关于 permission 的报错时, 请尝试以下方法, 并输入你的密码进行安装:
# 如果你是 python 2+ 版本, 复制下面
sudo pip install keras
# 如果你是 python 3+ 版本, 复制下面
sudo pip3 install keras
莫烦Python