Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #362

Open
adeindra94 opened this issue Jun 1, 2022 · 0 comments
Open

list index out of range #362

adeindra94 opened this issue Jun 1, 2022 · 0 comments

Comments

@adeindra94
Copy link

adeindra94 commented Jun 1, 2022

Hello, I had an error using the network (https://github.com/TuSimple/simpledet/blob/master/config/tridentnet_r50v1c4_c5_1x.py).

I use Pascal VOC (https://github.com/TuSimple/simpledet/blob/master/utils/create_voc_roidb.py)

and then train the model without a problem:
python3 detection_train.py --config config/tridentnet_r50v1c4_c5_1x.py

But when I do the testing:
(simpledet) doodles@cgu:/data/doodles/simpledet$ python3 detection_test.py --config config/tridentnet_r50v1c4_c5_1x.py

Traceback (most recent call last):
File "/home/doodles/miniconda3/envs/simpledet/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/doodles/miniconda3/envs/simpledet/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "detection_test.py", line 258, in do_nms
dataset_cid = coco.getCatIds()[cid]
IndexError: list index out of range
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "detection_test.py", line 268, in
output_dict = pool.map(do_nms, output_dict.keys())
File "/home/doodles/miniconda3/envs/simpledet/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/doodles/miniconda3/envs/simpledet/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
IndexError: list index out of range

Segmentation fault: 11

Segmentation fault (core dumped)

May I know how to solve this issue?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant