mnc用自己的数据集运行demo.py得到如下错误:IndexError: index 4 is out of bounds for axis 1 with size 4
原因是因为在demo.py代码中,如下图所示,CLASSES行中的类别设置错误,由于自己在其他代码中删掉了一类,修改了类别数,却忘记在这里删除,导致出错,记录一下。
MNC用自己的数据集运行demo.py出现IndexError:index 4 is out of bounds for axis 1 with size 4
最新推荐文章于 2024-02-16 02:00:00 发布