MapUncertaintyPrediction icon indicating copy to clipboard operation
MapUncertaintyPrediction copied to clipboard

IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed

Open Chenqingsu1 opened this issue 7 months ago • 3 comments

python vis_std2.py --version mini --dataroot ../nuscenes --split val --trj_pred HiVT --map MapTR --trj_data ../trj_data/maptrv2/val_1/data --base_results /MapUncertaintyPrediction-main/HiVT_modified/result_maptrv2_base.pkl --unc_results /MapUncertaintyPrediction-main/HiVT_modified/result_maptrv2_unc.pkl --boxes /MapUncertaintyPrediction-main/HiVT_modified/bbox.pkl --save_path /MapUncertaintyPrediction-main/HiVT_modified/vis_files

This is the command I executed, but I got this error. 0bf58a5982ff0c5153092e9e6ecc924 I tried to output the matrix shape of hivt trj, and it showed (6, 20, 4).

Why does this error occur, and how can I fix it? thanks,I'm afraid to modify the code randomly.🥲

Chenqingsu1 avatar Jul 18 '24 15:07 Chenqingsu1