Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result_eval.py throwing an error #17

Open
venky4121994 opened this issue Apr 8, 2022 · 0 comments
Open

result_eval.py throwing an error #17

venky4121994 opened this issue Apr 8, 2022 · 0 comments

Comments

@venky4121994
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant