Skip to content

result_eval.py throwing an error #17

@venky4121994

Description

@venky4121994

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions