s2anet
s2anet copied to clipboard
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
python tools/test.py configs/hrsc2016/s2anet_r50_fpn_3x_hrsc2016.py --checkpoint work_dirs/s2anet_r50_fpn_3x_hrsc2016/epoch_36.pth --out work_dirs/s2anet_r50_fpn_3x_hrsc2016/res.pkl --data hrsc2016
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 505/505, 28.1 task/s, elapsed: 18s, ETA: 0s
writing results to work_dirs/s2anet_r50_fpn_3x_hrsc2016/res.pkl
Saving results to work_dirs/s2anet_r50_fpn_3x_hrsc2016/results_txt
ship.txt
@@@@@@@@@@@@@@@@@@@@@@
work_dirs/s2anet_r50_fpn_3x_hrsc2016/results_txt/ship.txt
[]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Traceback (most recent call last):
File "tools/test.py", line 236, in