YOLOv3-model-pruning icon indicating copy to clipboard operation
YOLOv3-model-pruning copied to clipboard

计算MAP的时候报错:list index out of range

Open 1451595897 opened this issue 5 years ago • 4 comments

你好,我在训练自己的训练集的时候,在计算mAP时提示IndexError,不知道该如何解决这个问题呢? Traceback (most recent call last): File "train.py", line 205, in ap_table += [[c, class_names[c], "%.5f" % AP[i]]] IndexError: list index out of range image

1451595897 avatar Aug 15 '19 05:08 1451595897

我也有这个问题,求问楼主解决了吗

wd923923 avatar Oct 02 '19 01:10 wd923923

说出来你可能不信 .names文件(写类名的文件)最后一行是空行 就可以了

wd923923 avatar Oct 02 '19 01:10 wd923923

你好,请问解决这个问题了么

wyuzyf avatar Feb 25 '20 09:02 wyuzyf

要修改代码,具体的我也记不清了,我当时是弄spp来着,spp代码里要做修改

| | feixuetuba 邮箱:[email protected] |

Signature is customized by Netease Mail Master

在2020年02月25日 17:11,zyf 写道:

你好,请问解决这个问题了么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

feixuetuba avatar Feb 28 '20 02:02 feixuetuba