The requested array has an inhomogeneous shape after 1 dimensions.
757787182 opened this issue · 5 comments
I met a trouble with "np.savez_compressed(output_path, data=np.array(gt_depths,dtype=np.float32))
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (697,) + inhomogeneous part." When I ran "python export_gt_depth.py --data_path kitti_data --split eigen".could you help me to get over it.
i can not find the answer on the Internet
I think you can try pip install numpy==1.21.6
I try pip install numpy==1.21.6 and find answer on the Interent these day,but I stiil have the problem, can you provide me with gt_depth.npy ,thanks
im having thiss problem too. Can someone please help
I had same problem when using python3.10, using python3.7.10 with numpy==1.21.6 solved my problem.