-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
你好,我按照你的方法制作了多目标检测的.rec和.idx文件,但是读取的时候出现 Encounter sample with no valid label 错误,能帮我看一下吗?多谢了
这是我生成.lst文件的程序
with open('dataset/dataset.lst', 'w+') as f:
----f.truncate()
----for i in range(len(labels)):
--------lst = str(i) + '\t' + str(4) + '\t' + str(5) + '\t' + str(1360) + '\t' + str(800) + '\t'
--------for label in labels[i]:
------------lst += str(label[4]) + '\t' + str(round(label[0]/1360, 4)) + '\t' + str(round(label[1]/800,4)) + '\t'
------------lst += str(round(label[2]/1360,4)) + '\t' +str(round(label[3]/800,4)) + '\t'
--------lst += str(i).zfill(5) + '.jpg\n'
--------f.write(lst)
Metadata
Metadata
Assignees
Labels
No labels