I have just tried to run the depth inference script. It completed all of the tasks then errored at line 154.
The error was:
poses_depth_timings = poses_timings + np.array(all_depth_timings) <- THIS LINE CAUSED THE ERROR
ValueError: operands could not be broadcast together with shapes (2,0) (2,5438)
I've had a good look online, and apparently this can be fixed by using numpy.dot(), but I can't see where this can be used.
I also am unsure as to whether the + operator is applying matrix multiplication or adding a 2 by 0 matrix to a 2 by 5438 matrix, which is obviously impossible. So do I need to resize the 2 by 5438 matrix using .resize?
I have just tried to run the depth inference script. It completed all of the tasks then errored at line 154.
The error was:
I've had a good look online, and apparently this can be fixed by using
numpy.dot()
, but I can't see where this can be used. I also am unsure as to whether the+
operator is applying matrix multiplication or adding a 2 by 0 matrix to a 2 by 5438 matrix, which is obviously impossible. So do I need to resize the 2 by 5438 matrix using.resize
?This is what happens when I run
render_poses.py
: