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

Error when trying to re-train #170

Open
SM1991CODES opened this issue Mar 19, 2023 · 0 comments
Open

Error when trying to re-train #170

SM1991CODES opened this issue Mar 19, 2023 · 0 comments

Comments

@SM1991CODES
Copy link

Hi,

I was trying to re-train on SemanticKITTI and I get the following error during validation. Please help in fixing this.

Traceback (most recent call last):
File "train_cylinder_asym.py", line 167, in
main(args)
File "train_cylinder_asym.py", line 109, in main
iou = per_class_iu(sum(hist_list))
File "/home/sambit/data/code/Cylinder3D/utils/metric_util.py", line 16, in per_class_iu
return np.diag(hist) / (hist.sum(1) + hist.sum(0) - np.diag(hist))
File "<array_function internals>", line 180, in diag
File "/usr/local/lib/python3.8/dist-packages/numpy/lib/twodim_base.py", line 309, in diag
raise ValueError("Input must be 1- or 2-d.")
ValueError: Input must be 1- or 2-d.

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