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

How to generate knn files? #1

Closed
songw-zju opened this issue Jul 8, 2022 · 3 comments
Closed

How to generate knn files? #1

songw-zju opened this issue Jul 8, 2022 · 3 comments

Comments

@songw-zju
Copy link

Hi, thanks for your great work and share the code!
When I try to reproduce your result, the error occurs because the knn fiiles don't exist. I would like to know how to generate knn files.

@haibo-qiu
Copy link
Owner

Hi there~

If there is no existing knn file, the code is supposed to generate a new one by itself, as you can see this line

I will double-check this issue for inference.
Thanks

@haibo-qiu
Copy link
Owner

I think this issue came from line96-97 in SemanticKITTI.py, where I assert the same length of scan and KNN. Actually, the code can handle the non-knn existing situation.

Simple deleting these codes can fix the issue, and I will update the repo asap.

Thanks~

@songw-zju
Copy link
Author

Thanks for your kind consideration! I have solved the problem.

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

2 participants