前言
本文记录了YOLOv9
模型的环境搭建、模型训练、模块改进、论文写作这一系列过程中可能发生的问题,以及大家非常关心的论文创新性问题,这里统一做了一个记录和解答。
专栏目录:YOLOv9改进目录一览 | 涉及卷积层、轻量化、注意力、损失函数、Backbone、SPPF、Neck、检测头等全方位改进
文章目录
- 前言
- 一、报错处理
-
- 1. RuntimeError: CUDA out of memory.
- 2. OSError: [WinError 1455] 页面文件太小,无法完成操作
- 3. 通道数不匹配相关问题
- 4. 无法打印GFLOPs
- 5. 训练过程中,损失均为nan,mAP评价指标均为0
- 6. RuntimeError: Input type (torch.cuda.HalfTensor) and weight type (torch.cuda.FloatTensor) should be the same
- 7. 安装mmcv报错
- 8. RuntimeError: Couldn’t load custom C++ ops.
- 9. NameError: name ' XXX ' is not defined
- 10. IndexError: index 0 is out of bounds for dimension 0 with size 0
- 11. TypeError: __init__() missing 1 required positional argument: 'ch'
- 12. 与torch相关的报错
- 13. ModuleNotFoundError: No module named ‘pywt’
- 14. _pickle.UnpicklingError: STACK_GLOBAL requires str
- 15. 新建虚拟环境报错:CondaHTTPError
- 16. 多卡训练报错
- 17. RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED
- 18. ...
- 二、疑问解答