keras安装教程
2023-04-04 15:27 作者:wanmay2018 | 我要投稿
keras安装教程
第一步:安装anaconda3(版本为Anaconda3-2019.03-Windows-x86_64.exe),里面的python版本是3.7.3


2.第二步:
2.1 在Anaconda Prompt中创建虚拟环境:
conda create --name tensorflow python=3.6


2.2激活虚拟环境:(注意:激活后base会进入tensorflow)
conda activate tensorflow

3.安装tensorflow:
pip install tensorflow==1.15.0 -i https://pypi.tuna.tsinghua.edu.cn/simple/

4.安装karas:
pip install keras==2.3.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/

5.安装tensorflow环境下的 jupyter notebook:
conda install jupyter notebook

6.安装一些配套库,我的D盘里面有个requirements.txt文件,里面有要安装的库。
D:\requirements.txt里面有

pip install -r D:\requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

7.使用jupyter notebook:

