小白jua关于毕设的一些笔记

cuda10.1及cuDNN7.6的安装

参考(blog

  • 我自己的cuda地址:

在这里插入图片描述

  • 我自己的cuDNN地址:
C:\Users\94420\AppData\Local\Temp\CUDA\bin

anaconda及tensorflow安装

请参考(https://blog.csdn.net/darlingwood2013/article/details/60322258
和这篇(https://blog.csdn.net/qq_36015370/article/details/79484455

建立TensorFlow的Anaconda环境

参考(blog

Tensorflow-gpu升级到最新版本

pip install --upgrade tensorflow-gpu

或用其他pip(速度快了不少)

  • tensorflow
pip install tensorflow -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
  • tensorflow-gpu
pip install tensorflow-gpu -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

(其中的tensorflow是你需要下载的,根据自己需求自行更改)
同样更新tensorflow-gpu速度更快

一些国内的pip源

阿里云 http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

遇到的一些问题

  1. 在import tensorflow as tf 时出错,没有找到tensorflow
    出现的错误:没有成功安装tensorflow解决方法:
    教程中安装的是cpu版本,我的电脑应该安装gpu版本
    在navigator手动装入tensorflow-gpu
    在这里插入图片描述
    在这里插入图片描述

在tensorflow环境下在这里插入图片描述
找到not installed里面的tensorflow-gpu,勾选上在这里插入图片描述
之后点击apply
过了好久
在这里插入图片描述
继续apply

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值