Python-VO icon indicating copy to clipboard operation
Python-VO copied to clipboard

result_eval.py throwing an error

Open venky4121994 opened this issue 2 years ago • 0 comments

When I try running the result_eval.py, I get the following error: result_eval.py:21: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. return np.array(img_ids), np.array(est_points), np.array(gt_points) Traceback (most recent call last): File "result_eval.py", line 70, in main() File "result_eval.py", line 38, in main errors = np.linalg.norm((gt_xyz - est_xyz), axis=1) ValueError: operands could not be broadcast together with shapes (8480,) (8480,3)

venky4121994 avatar Apr 08 '22 16:04 venky4121994