monodepth
monodepth copied to clipboard
A error happend when I evaluate the Eigen Split
when I execute following code:
python ~/depth/monodepth/code/monodepth/utils/evaluate_kitti.py --split eigen --predicted_disp_path ~/depth/monodepth/trained_models/model_eigen/disparities.npy
--gt_path ~/depth/monodepth/datasets/KITTI/ --garg_crop
A error happend :
0 files missing
Traceback (most recent call last):
File "/home/xhy/depth/monodepth/code/monodepth/utils/evaluate_kitti.py", line 37, in
Can anyone give me some instructions?
Hello, I have the same question unfortunately. Do you have any solutions?
Hi, I encountered the same problem, and changed the following line of code in evaluation_utils.py data[key] = np.array(map(float, value.split(' '))) to data[key] = np.array(list(map(float, value.split(' '))))
I also changed Counter(inds).iteritems() to Counter(inds).items()
This worked for me.
Hi, I encountered the same problem, and changed the following line of code in evaluation_utils.py data[key] = np.array(map(float, value.split(' '))) to data[key] = np.array(list(map(float, value.split(' '))))
I also changed Counter(inds).iteritems() to Counter(inds).items()
This worked for me.
Thank You!
Hi, I encountered the same problem, and changed the following line of code in evaluation_utils.py data[key] = np.array(map(float, value.split(' '))) to data[key] = np.array(list(map(float, value.split(' '))))
I also changed Counter(inds).iteritems() to Counter(inds).items()
This worked for me.
Oh my god, that's a lot help. Thank you buddy