Seq-NMS
def dsnms(video):
dets=createInputs(video)
links=createLinks(dets)
maxPath(dets,links)
NMS(dets)
frame_names=sorted(video.keys())
saveforAP(dets,frame_names)
pkllistfile=open('/workspace/liruiguang/imagenet/pkllist.txt')
pkllist=pkllistfile.readlines()
pkllistfile.close()
pkllist=[pkl.strip() for pkl in pkllist]
for pkl in pkllist:
f = open('/workspace/liruiguang/imagenet/'+pkl)
video = pickle.load(f)
dsnms(video['dets'])
Я пытаюсь проверить последовательность NMS с определением mm.
Что такое pkllist.txt?