1、安装CUDA、cuDNN、Anaconda、Tensorflow-GPU和pyTorch:
准备安装文件:ubuntu@ubuntu:~$ ls
anaconda3 NVIDIA-Linux-x86_64-440.31.run
Anaconda3-5.1.0-Linux-x86_64.sh snap
cuda_10.0.130_410.48_linux.run 公共的
cudnn_samples_v7 模板
Downloads 视频
examples.desktop ...
由于清华镜像源迟迟没有更新tensorflow1.13.1导致python3.7不能使用tensorflow
这里有一个解决方法
管理员模式打开(一定要管理员模式 不然会导致权限不足)输入pip install tensorflow==1.13.1 -i https://pypi.doubanio.com/simple/卸载目前的numpy(版本需要更新)conda remove numpy然后重新安装pip install numpy -i https://pypi.doubanio.com/simple/
然后输入conda list
windows下 的anaconda安装tensorflow:
在Anaconda Prompt中:conda install tensorflow python=3.5一直下载失败.总结一下原因可能国外的源,网速太慢且不稳定
借鉴http://www.cnblogs.com/nosqlcoco/p/6923861.html
把镜像改为清华大学开源软件镜像站:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --set show_channel_urls yes
conda creat -n tensorflow python=3.5 (我...
https://blog.csdn.net/shiheyingzhe/article/details/80863422
https://blog.csdn.net/sheyanshangjiang/article/details/83275412
https://www.jianshu.com/p/5adc6b01efa8
安装VM12+Ubuntu16.04+anaconda3+tensorflow
一、VW12安装Ubuntu16.04 参考博文: VMware Workstation12安装Ubuntu 16.04和VMware Tools教程
下载:VMware-workstation-full-12.1.0-3272444(许可秘钥百度上可以搜到) 网盘链接:https://pan.baidu.com/s/1DjgtQQk4pleGhNWV4rOOFg 提取码:e1sn
下载:ubuntu-16.04.1-desktop-amd64 网盘链接:https://pan.baidu.com/s/1Zbvaq_56GmHpuhBMpizQ5w 提取码:vy1c
以上过程完成后,由于...
目录
前言本机环境安装思路1.系统环境2.Anaconda4.TensorFlow3.Cuda、Cudnn(仅GPU版本Tensorflow需要)
安装注意事项疑难问题总结1.pip下载超时2.安装完驱动程序后重启电脑无法进入桌面(1)可以进入命令行(2)无法进入命令行
3.安装cuda循环登录4.cuda安装过程中出现It appears that an X server is running. Please exit X before installation.
致谢
前言
近期因学习需要,需要搭建Linux+Tensorflow的编程环境,为了保证深度学...
0 系统版本Ubuntu16.041 系统更新(速度很慢,可以试着跳过这一步看会不会影响后面的安装)sudo apt updatesudo apt upgrade2 安装python基础开发包sudo apt install -y python-dev python-pip python-nose gcc g++ git gfortran vim3 下载Anaconda然后在终端下执行安装,根据提示完成chmod 777 Anaconda.shsudo ./Anaconda.sh4 安装Anaconda后可以选择自动加入环境变量。如果终端输入python不是Anaconda的版本,可以进行相应修改:...
你可以按照以下方法使用 ls 命令来查看你的系统中都有那些 Python 的二进制文件可供使用。$ ls /usr/bin/python*
/usr/bin/python /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.4 /usr/bin/python3.4m /usr/bin/python3m执行如下命令查看默认的 Python 版本信息:$ python --version
Python 2.7.81、基于用户修改 Python 版本:想要为某个特定用户修改 Python 版本,只需要在其 home 目录下创建一个 ali...
方案一:conda config --set auto_activate_base false #取消默认加载环境 false改为true时,命令为 确认默认加载环境方案二:
>vim ~/.bashrc
>在最后一行加上 conda deactivate
>Esc退出,输入":",接着输入"wq" #此句为vim中的保存并退出命令
>source ~/.bashrc #执行此脚本
下载anaconda3 5.3.1-Linux-x86_64
1.在安装时就一直按回车和yes即可,在遇到问是否安microsoft…时回no。
2.在anaconda下创立新环境,在pytorch上运行时添加该环境。
创建环境,conda create -n name python=3.6
Conda install pytorch==1.6.0 torchvision cudatoolkit=10.1(10.2是新版,但时间长) -c pytorch
3.在安装opencv时出现ModuleNotFoundError:NO module named ‘skbuild’
输入sudo apt install cmake
Pip install sc...
使用conda创建一个虚拟环境,名称以“caffe”为例 因为他们的代码是用python2写的,所以选择2.7版本避免更多的问题。
conda create -n caffe python=2.7 -y
conda activate caffe下载GitHub上的caffe框架
git clone https://github.com/weiliu89/caffe
cd caffe
git checkout ssd或者可以直接一步到位
git clone https://github.com/weiliu89/caffe -b ssd && cd caffe安装编译工具链 Ubuntu 20.04默认的gcc等编译工具版本较高,需...
安装anaconda3
参考Ubuntu18.04 安装 Anaconda3
安装pytorch
参考ubuntu下用anaconda快速安装 pytorch 以及Ubuntu利用Anaconda3安装Pytorch
Ubuntu16.04下cuda9.0+cudnn7.0安装
https://zhuanlan.zhihu.com/p/58114055
Ubuntu安装anaconda 介绍、安装、配置
https://blog.csdn.net/haeasringnar/article/details/82079943
Linux下的Pytorch安装(cuda9.0+cudnn7.0),linux,pytorch,cuda90cudnn70
https://www.pythonf.cn/read/1733
首先安装一些依赖sudo apt-get install -y build-essential checkinstall cmake pkg-config yasm git gfortran# 添加源,防止可能会出现的找不到所需安装的库的情况sudo add-apt-repository -y "deb http://security.ubuntu.com/ubuntu xenial-security main"sudo apt-get updatesudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-devsudo apt-get install -y libjpeg8-dev libjasper-dev libpng12-dev l...