-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hello, author. I have the following problems in the process of inference.
reassemble ...
python ./tools/merge_patches.py ms_rcnn_r50.val.segm.json data/car-coco/annotations/instances_val2017.json ms_rcnn_r40.val.refined.json/refined.pkl ms_rcnn_r40.val.refined.json/patches/detail_dir/val ms_rcnn_r40.val.refined.json/refined.json
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
0%| | 0/137 [00:00<?, ?it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/mint/anaconda3/envs/open-mmlab/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "./tools/merge_patches.py", line 38, in run_inst
patch_mask = results[pid]
KeyError: 16
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./tools/merge_patches.py", line 110, in
start()
File "./tools/merge_patches.py", line 80, in start
for r in p.imap_unordered(run_inst, enumerate(dt)):
File "/home/mint/anaconda3/envs/open-mmlab/lib/python3.7/multiprocessing/pool.py", line 748, in next
raise value
KeyError: 16
I look forward to your reply, which is very important to me. thank you!