-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support exporting point clouds #924
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a few comments.
|
||
def generate_point_cloud( | ||
pipeline: Pipeline, | ||
num_points: int = 1000000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1e6 is a float, not an int. I can add the typecast, but at that point it seems a bit excessive.
class ExportPointCloud(Exporter): | ||
"""Class to export meshes with the poisson algorithm.""" | ||
|
||
num_points: int = 1000000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1e6
* Support exporting point clouds * Fix typing * lint * Update requirements
Pointclouds can now be exported from a trained nerf.
ns-export pointcloud --load-config CONFIG --output-dir DIR