![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
bug记录
文章平均质量分 60
排查各种bug和异常情况
marsh_zy
这个作者很懒,什么都没留下…
展开
-
【bug记录】urllib.error.ContentTooShortError
问题描述:在下载一个数据集时,偶尔会报出以下错误,原因可能是网络异常,导致获取的文件大小和应该的大小不一致urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 36211 out of 508217 bytes>解决方法:在代码中编写异常处理代码,例如try: #your codeexcept urllib.error.ContentTooShortError:原创 2020-10-16 20:23:47 · 2005 阅读 · 0 评论 -
Jupyter中报错Blas GEMM launch failed
在使用Ag的TensorFlow2.0教程时,发现在模型训练时报错Blas GEMM launch failed两幅图中间还有一些报错,都是Keras库里函数的报错。问题原因:Tensorflow默认申请可使用的全部显存,当有两个程序使用GPU时,会出现空间不足的问题。在这里是我没有“关闭”另一个运行中的训练进程。使用nvidia-smi命令可在cmd中看到使用gpu的进程有两...原创 2020-04-23 21:37:23 · 476 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException 报错记录
"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=63615 -Dcom.s...原创 2018-07-07 23:51:41 · 2118 阅读 · 0 评论 -
VS2015无法解析外部符号
在使用VS编辑C++时,遇到了无法解析外部符号的错误严重性 代码 说明 项目 文件 行错误 LNK2019 无法解析的外部符号 "public: __thiscall Employee::Employee(void)" (??0Employee@@QAE@XZ),该符号在函数 "public: __thiscall manager::manager(int,class std::bas...原创 2016-12-06 12:39:22 · 5447 阅读 · 0 评论 -
VS2015写C++记录
一些遇到的问题:1.从ecplise换到vs来编写C++,发现String不能使用,vs会报错。解决方法:添加头文件<string>,并且使用小写string。2.在调试过程中vs会报出无法查找或打开pdb文件,在网上查阅了教程。解决方法:http://bbs.csdn.net/topics/391827784?page=1这里提供了解决方法,并且也写到了这种提示没有影...原创 2016-12-03 16:23:05 · 442 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)解决方法
最近在跑一个springboot+mybatis的程序时,idea报出了这样的错误org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.marsh.dao.PaperDao.addPaper at org.apache.ibatis.binding.MapperMethod$...原创 2018-07-27 10:04:30 · 356 阅读 · 0 评论 -
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 实体类
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'user' in 'class com.marsh.domain.User'报错信息如上,显示没有user的getter。这里user是一个实体类xml<update id="updateUserByI...原创 2018-08-01 17:45:38 · 1484 阅读 · 1 评论