-
Notifications
You must be signed in to change notification settings - Fork 61
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
Prediction without sampling #34
Comments
Hi, thanks or your interest in the project. Why using grid sampling ?Voxelization is required to mitigate memory use and smoothen potential variations in point density. Removing it may blow your memory use on very dense point clouds (eg 3DIS). As a rule of thumb, you want your voxel resolution to be about twice as high as the characteristic dimension of your smallest object of interest (think Nyquist Shannon theorem). Rather than removing the voxelization altogether, I would recommend trying to reduce the voxel size to suit your needs instead. Is there any possibility to run inference without sampling and keep the original data points?See issue #9. For reasons explained above, the bulk of computation should probably not operate on full resolution. You can, however, convert the superpoint-level predictions to full-resolution output. As stated in the referenced issue, I have not had time to work on implementing this. It should be quite straightforward however, just need to keep track of per-voxel point indices, store them at preprocessing, and load them at inference if full-resolution is required. Pull requests are welcome 😉 Your actual errorAssertionError: Expected Data.y to hold `(num_nodes, num_classes)` histograms, not single labels This happens because |
Thanks for your answers, I get it now. |
Yes, but not only. Off the top of my head, to implement this feature, one would need to do the following:
Some steps (saving / loading) will require a good comprehension of the project structure. |
Closing this issue for now, which I consider a duplicate of the feature request in : #9 Feel free to re-open it if you work on implementing the above-described pipeline. PS: if you are interested in this project, don't forget to give it a ⭐, it matters to us ! |
Hello,
Thanks for the great work. I trained a model on my own data. The results are good and I could run the inference on the test dataset. However, I noticed that we can't run the inference on data without sub-sampling, thus reducing the number of points. Is there any possibility to run inference without sampling and keep the original data points?
In my .yaml file I noticed there is a GridSampling operation:
If I delete this transformation, I get this error:
It appears that the
Data.y
tensor doesn't have the expected shape.The text was updated successfully, but these errors were encountered: