
遇到的Bug
文章平均质量分 60
旅人_Eric
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
电脑蓝屏代码大全合集
序号-代码-含意1.0x00000000 作业完成。2.0x00000001 不正确的函数。3.0x00000002 系统找不到指定的档案。4.0x00000003 系统找不到指定的路径。5.0x00000004 系统无法开启档案。6.0x00000005 拒绝存取。7.0x00000006 无效的代码。8.0x00000007 储存体控制区块已毁。9.0x00000008 储存体空间不足,无法处理这个指令。10.0x00000009 储存体控制区块地址无效。11.0x0000000.原创 2021-12-17 13:50:34 · 10342 阅读 · 0 评论 -
解决Win10更新后用磁盘清理无法清除掉windows.old文件
重装系统后删除原来系统遗留的文件夹时出现:你需要来自 … 的权限才能对文件夹进行更改百度几条不好使,参考了几条后发现删除规律;选中文件夹,右键,属性,安全,高级:所有者点击更改:输入要选择的对象名称,everyone,点击检查名称,变为Everyone。确定。勾选 替换子容器和对象的所有者,确定;这时候还不能删除,依次点击:右键,授予访问权限,删除访问更改共享权限:选择everyone并共享:最后点击更改设置删除成功!...原创 2021-04-28 09:38:30 · 2946 阅读 · 0 评论 -
解决ModuleNotFoundError: No module named ‘pip‘问题
python -m ensurepippython -m pip install --upgrade pip即可原创 2020-08-11 08:46:44 · 15642 阅读 · 0 评论 -
使用Anaconda中的pip命令报错:pip is configured with locations that require TLS/SSL
出现各种乱七八糟的warning还有什么TLS/SSL、No matching…问题将"[Anaconda安装目录]\Library\bin"加入PATH后,问题解决原创 2020-06-21 16:47:38 · 37486 阅读 · 1 评论 -
Tensorflow坑之:ImportError: Could not find ‘cudnn64_7.dll‘.
问题描述:ImportError: Could not find ‘cudnn64_7.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a sepa...原创 2020-03-22 10:37:41 · 34993 阅读 · 10 评论 -
修改Jupyter Notebook默认工作路径
1、打开cmd,输入jupyter notebook --generate-config可以看到路径为D:\Users……找到此路径修改jupyter_notebook_config.py文件2、## The directory to use for notebooks and kernels.# c.NotebookApp.notebook_dir = ‘’将其改为## The dir...原创 2020-02-25 10:38:07 · 16197 阅读 · 0 评论 -
AttributeError: 'NoneType' object has no attribute 'shape'
在运行训练文件时,出现了这样的问题:“AttributeError: ‘NoneType’ object has no attribute ‘shape’”。后来参考了大神文章后发现是因为都的txt文件中有中文路径,改了文件名后运行没问题了。参考文章链接...原创 2020-01-09 15:53:34 · 73536 阅读 · 14 评论 -
frcnn ValueError: Shape must be rank 1 but is rank 0 for 'bn_conv1_4/Reshape_4' (op: 'Reshape') with
在运行Faster-Rcnn时出现了这样的问题,参考了这位大神的文章,链接附上:大神文章在调用faster RCnn 时shared_layers = nn.nn_base(img_input, trainable=True) ,报错:InvalidArgumentError: Shape must be rank 1 but is rank 0 for ‘bn_conv1_1/Reshap...原创 2020-01-09 15:50:14 · 16640 阅读 · 0 评论 -
Matlab安装后Microsoft Visual C++ 2005 Redistributable后没了的解决方法
安装Matlab r2016a,点击setup.exe后,弹出了Microsoft Visual C++ 2005 Redistributable的配置窗口,但是配置完成后就自动消失了,没有出现matlab的安装界面。重复试了几次,都是这样。解决方法:进入Matlab的安装目录\Matlab_R2014a_\bin\win32(64),如果是32位机器,进入win32,64位机器进入win64...原创 2019-11-20 20:48:27 · 3623 阅读 · 0 评论 -
解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecat
进入dtype.py修改对应行的代码把np.dtype([(“quint8”, np.uint8, 1)])修改为np.dtype([(“quint8”, np.uint8, (1,))])就完美解决了原创 2019-11-13 15:59:39 · 5562 阅读 · 4 评论 -
Tensorflow:If you want to see a list of allocated tensors when OOM happens, add report_tensor_alloca
显存不足,将batch_size改小。原创 2019-11-13 14:27:32 · 593 阅读 · 0 评论 -
ERROR: Cannot uninstall 'Werkzeug'. It is a distutils installed project and thus we cannot ac
安装遇到问题:ERROR: Cannot uninstall ‘Werkzeug’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.直接干货:pip ...原创 2019-11-08 13:54:35 · 2220 阅读 · 0 评论 -
设置成GPU后仍然在使用CPU跑程序
今天在跑Capsule网络代码时,明明用import osos.environ[“CUDA_VISIBLE_DEVICES”] = “0”定义了调用GPU跑程序,却仍然占用CPU,之后在网上没有找到解决办法.后来,突然看了下自己的编译环境,用的Anaconda,里面的库同时包含了Tensorflow和Tensor flow-GPU,感觉应该是默认使用Tensorflow跑。之后换成了Py...原创 2019-11-04 21:00:25 · 12553 阅读 · 14 评论 -
Geforce 错误代码 ERROR CODE:0x0003
打开cmd, 进入管理员模式,然后打 netsh winsock reset 重启即可原创 2019-11-03 14:27:56 · 18946 阅读 · 4 评论 -
装tensorflow-gpu避免timeout的方法,豆瓣源!
pip install tensorflow-gpu==1.13.1 -i https://pypi.doubanio.com/simple比清华源速度快很多完美解决:原创 2019-10-23 20:16:09 · 696 阅读 · 2 评论 -
AttributeError: module 'tensorflow' has no attribute 'placeholder'
用import tensorflow.compat.v1 as tftf.disable_v2_behavior()替换import tensorflow as tf原创 2019-10-22 11:29:52 · 1904 阅读 · 0 评论 -
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
解决办法:使用tf.compat.v1.get_default_graph获取图而不是tf.get_default_graph。原创 2019-10-22 11:29:02 · 8060 阅读 · 2 评论 -
安装Tensorflow时出现Read Timed out解决方法
使用pip 安装模块时read time out问题:输入命令:pip --default-timeout=100 install -U Pillow原创 2019-09-23 20:10:59 · 4860 阅读 · 2 评论 -
使用清华镜像安装tensorflow1.13.1
安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。pip3 install tensorflow-gpu==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple选择版本是1.13.1,并且是GPU版本pypi 镜像使用帮助pypi 镜像每 5 分钟同步一次。临时使用pip install -i htt...原创 2019-09-23 19:52:52 · 9329 阅读 · 0 评论