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

code speed problem #6

Closed
zhangshabao opened this issue Jul 7, 2019 · 3 comments
Closed

code speed problem #6

zhangshabao opened this issue Jul 7, 2019 · 3 comments

Comments

@zhangshabao
Copy link

I tested the code with my data. The running time was 4s, the computer was 1070, and the video memory was 8 gigabytes.What is wrong?Excluding the read data time, the network runs in 2. 2 seconds

@WangYueFt
Copy link
Owner

I tested the code with my data. The running time was 4s, the computer was 1070, and the video memory was 8 gigabytes.What is wrong?Excluding the read data time, the network runs in 2. 2 seconds

Hi,

If you're using your own data, the problem can be: 1. your point clouds are big; 2. data loading seems slow (it takes 1.8s?).

Best,
Yue

@zhangshabao
Copy link
Author

I tested the code with my data. The running time was 4s, the computer was 1070, and the video memory was 8 gigabytes.What is wrong?Excluding the read data time, the network runs in 2. 2 seconds

Hi,

If you're using your own data, the problem can be: 1. your point clouds are big; 2. data loading seems slow (it takes 1.8s?).

Best,
Yue

emmmm The number of point clouds is about 1w, and the speed of reading point clouds accounts for 1.8s.I use TXT file to read。 There have a good way to read?

@cbenitez81
Copy link

One way to do it, it's maybe to precompute the neighbors using a kd-tree, and modify the database to have this at hand for each epoch. knn complexity it's n^2, so if your cloud is big, the implementation in python can take a while. Open3d has an efficient implementation

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

3 participants