When running python main.py --data_dir dataPath --conf_thresh 0.1 --batch_size 16 --dataset dota --phase eval I get error:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/BBAV/BBAVectors-Oriented-Object-Detection/datasets/DOTA_devkit/ResultMerge_multi_process.py", line 203, in mergesingle
x_y_2 = re.findall(r'\d+', x_y[0])
IndexError: list index out of range
"""
In the readme.md the files are named like P0000__0.5__0___0, but my files are named like P0000 which results in x_y being an empty list since regex is not finding anything matching r'__\d+___\d+'.
I was wondering how should I preprocess my files so their names would have the correct format?
When running
python main.py --data_dir dataPath --conf_thresh 0.1 --batch_size 16 --dataset dota --phase eval
I get error:In the
readme.md
the files are named likeP0000__0.5__0___0
, but my files are named likeP0000
which results inx_y
being an empty list since regex is not finding anything matchingr'__\d+___\d+'
. I was wondering how should I preprocess my files so their names would have the correct format?