![](https://img-blog.csdnimg.cn/20210727220134203.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
BUG 排除手册
BUG 排除手册。
大腹太卷
内心丰盈者,独行也如众。
展开
-
【Bug记录】Fail to create pixmap with Tk_GetPixmap in TkImgPhotoInstanceSetSize
Bug记录:Fail to create pixmap with Tk_GetPixmap in TkImgPhotoInstanceSetSize。原创 2022-11-10 16:27:20 · 2341 阅读 · 4 评论 -
【错误处理】RuntimeError: Attempting to deserialize object on CUDA device 1 but torch.cuda.device_count
RuntimeError: Attempting to deserialize object on CUDA device 1 but torch.cuda.device_count1 项目场景2 问题描述3 原因分析4 解决方案1 项目场景使用LSTM进行交叉路口的车辆行为识别。2 问题描述在使用PyTorch加载模型时出现错误语句:RuntimeError: Attempting to deserialize object on CUDA device 1 but torch.cuda.de原创 2021-10-29 11:03:04 · 7252 阅读 · 3 评论 -
【错误处理】RuntimeError: Output 1 of UnbindBackward is a view and its base or another view of its
RuntimeError: Output 1 of UnbindBackward is a view and its base or another view of its项目场景问题描述原因分析解决方案项目场景项目场景:运行项目文件 - train.py文件时报错。项目地址:https://github.com/RayneSun/VTPLSTM问题描述运行项目文件 - train.py文件时报错:RuntimeError: Output 1 of UnbindBackward is a v原创 2021-09-26 16:59:06 · 2711 阅读 · 2 评论 -
【错误处理】Python ERROR: Cannot uninstall ‘PyYAML‘.
Python ERROR: Cannot uninstall 'PyYAML'.项目场景问题描述解决方案项目场景Python ERROR: Cannot uninstall ‘PyYAML’. It is a disturbing installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.问题描述安装V原创 2021-09-26 10:27:21 · 451 阅读 · 0 评论 -
csv.Error: iterator should return strings, not bytes...
csv.Error: iterator should return strings, not bytes1 项目场景2 问题描述3 原因分析4 解决方案1 项目场景Python 读取.csv文件问题:import csvwith open('fileName_1.csv', 'rb') as csvfile: reader = csv.reader(csvfile) column = [row[0] for row in reader]print(column)2 问题描述原创 2021-08-10 10:09:31 · 748 阅读 · 1 评论 -
【BUG解决】The TensorFlow library wasn‘t compiled to use SSE.
BUG解决1 问题描述2 原因分析3 解决方案1 问题描述今天用Tensorflow跑一个简单的脚本时遇到以下问题:The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations.大概的意思是:警告:你的机器是支持使用SSE指令的,使用SSE可以加速你的CPU计算。但是,你的Ten原创 2021-06-01 16:19:53 · 1323 阅读 · 1 评论 -
【BUG解决】FutureWarning: Passing (type, 1) or ‘1type‘ as a.
BUG解决1 问题描述2 原因分析3 解决方案1 问题描述Tensorflow运行一个脚本,抛出了如上十多条警告。site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (typ原创 2021-06-01 16:03:11 · 510 阅读 · 0 评论 -
【BrokenPipeError: [Errno 32] Broken pipe】的解决方案
【BrokenPipeError: [Errno 32] Broken pipe】的解决方案项目场景问题描述原因分析解决方案End.项目场景调试 GitHub项目bddoia_project【Explainable Object-induced Action Decision for Autonomous Vehicles论文代码】项目地址问题描述调试 GitHub项目bddoia_project,训练模型时出现BrokenPipeError: [Errno 32] Broken pipe。问原创 2021-02-07 19:48:04 · 8571 阅读 · 5 评论 -
【UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xaf in position 304】的解决方案
【UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 304: illegal multibyte sequence】的解决方案项目场景问题描述原因分析解决方案End项目场景运行机器学习示例程序的时候提示错误:UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 304: illegal multibyte sequence问题描述程序原创 2021-01-25 15:27:51 · 2296 阅读 · 0 评论 -
【解决方案】Microsoft Visual C++ 14.0 is required
【Microsoft Visual C++ 14.0 is required】的解决方案写在前面问题描述解决方案End写在前面最近在调试机器学习的代码,在运行示例程序的过程中,碰到了一个以前未曾见过的Bug,经过查阅相关的资料,终于解决了这个Issue。特此记录问题及解决方案以便日后查阅。问题描述问题的具体描述如下:运行程序python setup.py的过程中出现:程序报错提示:error: Microsoft Visual C++ 14.0 is required.【一般我们的Windo原创 2021-01-25 14:52:42 · 354 阅读 · 2 评论