首页 > 文章列表 > python怎么安装keras

python怎么安装keras

Python 安装 keras
220 2022-08-07

搭建keras,先得搭建theano和TensorFlow。

1、难就难在搭建theano,可以参考下面这篇文章:

http://blog.csdn.net/m0_37681914/article/details/73609177

接下来,TensorFlow和keras很简单了:

2、cmd输入命令,安装TensorFlow。

pip install tensorflow

3、安装keras:

pip install keras

最后通过import keras进行测试即可。