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

Question about the environment of convpoint #5

Closed
ZhengLeon opened this issue Dec 21, 2022 · 4 comments
Closed

Question about the environment of convpoint #5

ZhengLeon opened this issue Dec 21, 2022 · 4 comments

Comments

@ZhengLeon
Copy link

ZhengLeon commented Dec 21, 2022

Thank you for your work.
I installed all the packages as you guided.
When I try to run 'debug_sn_weight50.sh', there is a error about loading 'nearest_neighbors' Could you please help to see what is wrong?
Traceback (most recent call last): File "/media/SSD/liyang/projects/3DGenZ/3DGenZ/genz3d/seg/train_point_sn.py", line 10, in <module> from genz3d.fkaconv.examples.scannet.train import get_data File "/media/SSD/liyang/projects/3DGenZ/3DGenZ/genz3d/fkaconv/examples/scannet/train.py", line 23, in <module> import genz3d.convpoint.convpoint.knn.lib.python.nearest_neighbors as nearest_neighbors ModuleNotFoundError: No module named 'genz3d.convpoint.convpoint.knn.lib.python.nearest_neighbors'

@BjoernMichele
Copy link
Collaborator

Dear @ZhengLeon ,

Thank you for your interest in our work. The nearest neighbor function for fkaconv is borrowed from convpoint. Have you run the installation of convpoint ?

cd 3DGenZ/genz3d/convpoint/convpoint/knn

python3 setup.py install --home="."

@ZhengLeon
Copy link
Author

ZhengLeon commented Dec 21, 2022

Dear @BjoernMichele,
Thanks for your kind reply.
I think I have installed the convpoint package as it instructs.
Do I need to set the path for 3DGenZ or should I run the training script at the root directory?

@BjoernMichele
Copy link
Collaborator

BjoernMichele commented Dec 21, 2022

Dear @ZhengLeon,

ok, as I have only seen this error when the convpoint package was not or not correctly installed/compiled. For me, it is not necessary to set the path or to run the training from the root directory.
I redid the installation from a freshly cloned repository, but I could not reproduce the error. Perhaps, you could compare the outputs you get for the installation with the one I get.
installation_3dzsl

@ZhengLeon
Copy link
Author

Dear @BjoernMichele,
Thanks for your instruction. I have fixed the problem now.
I will close this issue.

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