![](https://img-blog.csdnimg.cn/20210506113407533.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
DEBUG笔记
文章平均质量分 55
比较费事debug笔记
南瓜派三蔬
这个作者很懒,什么都没留下…
展开
-
DEBUG | mmdetection测试报错data[‘category_id‘]=self.cat_ids[label] IndexError:list index out of range
文章目录1. 现象2. 解决办法3. 可能的原因1. 现象我自己实际有 1 个类别,但是套用coco数据集80个类别的pipeline。测试的时候,有时候是yolo模型,有时候是faster-rcnn模型,都遇到过。训练的时候正常,在val上推断的时候就会报错: data['category_id'] = self.cat_ids[label]IndexError: list index out of range2. 解决办法找到相关配置文件,修改其中的 conf_thres 阈值,有原创 2021-05-18 16:54:38 · 5664 阅读 · 10 评论 -
DEBUG | mmdetection报错ImportError: libcudart.so.11.0: cannot open shared object file
文章目录1. 报错说明2. 解决办法3. 原因分析1. 报错说明安装完mmdetection之后,运行测试案例,报错ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory我搜了一下,看到有些帖子,是 libcudart.so.10.1,libcudart.so.9.0等。2. 解决办法我是重装了pytorch(按照cuda==11.0)安装的,然后重新build mmd原创 2021-05-06 11:07:21 · 10051 阅读 · 0 评论