windows下Keras框架搭建

Posted redips

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows下Keras框架搭建相关的知识,希望对你有一定的参考价值。

1. 安装Anaconda

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

conda info来查询安装信息

conda list可以查询你现在安装了哪些库

2. cpu版的tensorflow

pip install --upgrade --ignore-installed tensorflow

测试是否成功

 

python  
import tensorflow as tf  
hello=tf.constant("Hello!")  
sess=tf.Session()  
print(sess.run(hello))

 

 3. 安装keras

pip install keras -U --pre

测试:import keras

 

以上是关于windows下Keras框架搭建的主要内容,如果未能解决你的问题,请参考以下文章