一、windows安装keras:
只需3步:1、打开Anaconda prompt,输入conda install mingw libpython,进行下载;
2、输入conda install theano回车;
3、输入conda install keras(或者conda install -c conda-forge keras=2.0.2
)回车;
二、安装OpenCV:
输入:conda install -c https://conda.anaconda.org/menpo opencv
三、服务器操作:
1、卸载文件:pip uninstall Keras
2、下载文件:pip install Keras==2.1.6 或者 sudo pip install keras 或者 conda install ***
3、如果出现错误:Consider using the `--user` option or check the permissions. 就使用:pip install --user Keras==2.1.6
4、本地服务器中打开notebook:jupyter notebook --ip=192.168.2.183 --port=8888
5、服务器重启:reboot 或者 shutdown -r now 或者 sudo shutdown -r now
sudo shutdown -h now(关闭服务器)
6、删除anaconda:r

本文详细介绍了在Windows和Linux环境下安装配置深度学习环境的步骤,包括Keras、OpenCV、TensorFlow、PyTorch等核心库的安装,以及在服务器上进行的一系列操作如GPU信息查看、进程管理等。
最低0.47元/天 解锁文章
1241

被折叠的 条评论
为什么被折叠?



