
侑治找错日记
深度学习跑项目的过程中遇到的一些报错以及解决的情况,报错的原因可能有很多种,供参考
itoshi rin
ITOSHIRIN
展开
-
AttributeError: module ‘distutils‘ has no attribute ‘version‘
或者可以通过修改torch版本和固定setuptools版本为59.5.0解决,但是我觉得前者有点麻烦,后者尝试无效,于是找到下图路径中的文件__init__.py进行修改。采用这种方法也可以顺利解决问题!原创 2024-02-19 03:40:25 · 490 阅读 · 0 评论 -
RuntimeError: CUDA error: no kernel image is available for execution on the device
RuntimeError: CUDA error: no kernel image is available for execution on the device原创 2023-09-18 16:08:12 · 251 阅读 · 0 评论 -
报错lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 283, column 14
lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 283, column 14原创 2023-09-18 15:55:00 · 591 阅读 · 0 评论 -
自己的数据集跑faster-rcnn、ssd报in coco_index iscrowd.append(int(obj[“difficult“])) KeyError: ‘difficult‘
in coco_index iscrowd.append(int(obj["difficult"]))KeyError: 'difficult'原创 2023-09-18 15:10:12 · 359 阅读 · 1 评论 -
ERROR: Could not find a version that satisfies the requirement XXXXX (from versions: none)
报错:ERROR: Could not find a version that satisfies the requirement XXXXX (from versions: none)改错:pip install 库包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com转载 2023-01-18 00:11:54 · 314 阅读 · 0 评论 -
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory(自用笔记)
报错:RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory我出错的原因:文件损坏我在服务器上训练yolov3spp将权重文件yolov3spp-28.pt下载到本地,然后移动文件的时候损坏了文件(剪切文件失败)加油!原创 2023-01-17 23:28:27 · 1787 阅读 · 1 评论