tinghuiz / SfMLearner

An unsupervised learning framework for depth and ego-motion estimation from monocular videos
MIT License
1.96k stars 555 forks source link

ValueError: cannot reshape array of size 1 into shape (3,3) #133

Closed ShahZebYousafzai closed 3 years ago

ShahZebYousafzai commented 3 years ago

Traceback (most recent call last): File "kitti_eval/eval_depth.py", line 82, in main() File "kitti_eval/eval_depth.py", line 42, in main True) File "/home/shahzeb/Desktop/Shah Zeb Yousafzai/SfMLearner-master/kitti_eval/depth_evaluation_utils.py", line 175, in generate_depth_map velo2cam = np.hstack((velo2cam['R'].reshape(3,3), velo2cam['T'][..., np.newaxis])) ValueError: cannot reshape array of size 1 into shape (3,3)

ShahZebYousafzai commented 3 years ago

I am having issues running "eval_depth.py"