- 博客(7)
- 收藏
- 关注

原创 Ubuntu16.04+Python2.7+CUDA9.0+cuDNN7.0+TensorFlow 1.6 安装随笔
这个安装随笔来自我的知乎文章,主要针对已经安装了显卡驱动后,升级 TensorFlow 版本的问题,如果有什么问题,欢迎大家提出。文章地址点这里。
2018-04-16 09:09:00
752
原创 Windows下Python 2.×,Python 3.×共存时,pip和pip3的使用问题
前提 未使用anaconda管理python版本 分别装了Python2.7以及Python3.6 已经分别添加 D:\python2.7, D:\python2.7\Scripts , D:\python3.6 , D:\python3.6\Scripts 到path环境变量 Python2和Python3共存问题 进入D:\python3.6目录下,将python.ex...
2018-08-13 15:57:58
1070
原创 学习笔记-TypeError: Fetch argument array has invalid type type 'numpy.ndarray',(Can not convert a ...)
报错:TypeError: Fetch argument array([ 12., 244., 234., ..., 255., 189., 0.], dtype=float32) has invalid type <type 'numpy.ndarray'>, (Can not convert a ndarray into a Tensor or Operation.)代码出错位置...
2018-07-03 10:17:17
7773
7
原创 GIT从入门到卧室-快速上手指南
此文章原文在我的知乎文章里,欢迎大家前去查看,本文主要简介了 git 的工作原理, 并简单介绍如何在 Ubuntu 上搭建 git,以及如何利用 git 在自己的 github 上上传代码,文章具体细节请移步这里。...
2018-04-16 09:16:31
249
原创 学习随笔-ValueError: The truth value of an array with more than one element is ambiguous
问题:我的代码是想判断两个nparray是否完全相等,if prediction[i] == Y_test[i]:运行时报的错误为:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()原因:假设存在两个nparray:a = np.array([...
2018-04-09 16:33:34
211806
8
原创 学习随笔-ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[x,x]
今天跑代码的时候一直报这个ResourceExhaustedError,刚开始我看后边提示shape[100,40960],我以为是自己的网络参数设置错了,但仔细检查之后运行还是同样报错,我又认真就看了看报错问题,发现是因为数据量太大,我那一块显卡(GTX 1080)的显存(8G)不够用了,于是我打开了终端.输入:watch -n 1 nvidia-smi显示显卡的各种信息,其中1代表数据刷新时间...
2018-03-13 21:36:03
2189
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人