Open Sunyankun opened 3 years ago
Maybe you should check whether the video name in the JSON file is the same as that in the results file. Such as ‘Human4-2’ will rename as ‘Human4_2’ in some file. Hope my answer can help you.
Maybe you should check whether the video name in the JSON file is the same as that in the results file. Such as ‘Human4-2’ will rename as ‘Human4_2’ in some file. Hope my answer can help you.
Thanks for your reply, follow your idea. I found the file of results should all be .txt, And I have solve this problem.
I made the same mistake as the blogger.How did the blogger solve the problem?
loading OTB100: 100%|█████████████████████████████████████| 100/100 [00:00<00:00, 467.69it/s, Woman] eval success: 0%| | 0/100 [00:00<?, ?it/s]. multiprocessing.pool.RemoteTraceback: Traceback (most recent call last): File "/home/syk/anaconda3/lib/python3.7/multiprocessing/pool.py", line 121, in worker result = (True, func(*args, **kwds)) File "/home/syk/SiamGAT/toolkit/evaluation/ope_benchmark.py", line 50, in eval_success successret[video.name] = success_overlap(gt_traj, tracker_traj, n_frame) File "/home/syk/SiamGAT/toolkit/utils/statistics.py", line 34, in success_overlap iou[mask] = overlap_ratio(gt_bb[mask], result_bb[mask]) IndexError: too many indices for array """
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/syk/SiamGAT/tools/eval.py", line 100, in
main()
File "/home/syk/SiamGAT/tools/eval.py", line 51, in main
trackers), desc='eval success', total=len(trackers), ncols=100):
File "/home/syk/anaconda3/lib/python3.7/site-packages/tqdm/_tqdm.py", line 1005, in iter
for obj in iterable:
File "/home/syk/anaconda3/lib/python3.7/multiprocessing/pool.py", line 748, in next
raise value
IndexError: too many indices for array 当测试完成并保存OTB100结果做评估的时候出现上述错误,eval.py的配置文件指向测试完成后保存的otb_uav_model下的txt文件. Hope for your reply, Thanks a lot.