-
Notifications
You must be signed in to change notification settings - Fork 55
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
将分割后的三维模型导出成点云或者网格 #84
Comments
分割好后的三维模型实际上就是以320**3的grid形式存储的,请参考lib/grids.py部分的代码。 |
请问分割好后的三维模型的网格数据在哪里导出呢? |
你好,我还是没搞懂怎么导出网格,请您再次解答一下,谢谢。 |
分割好的结果是以网格形式保存的,只需要把DenseGrid中对应的变量grid取出来,但具体要导出成什么格式需要根据下游的需求自己修改并存储。 |
seg_dvgo和seg_dcvgo中的seg_mask_grid |
请问self.seg_mask_grid 是一个可以通过 numpy 处理的体素网格数组吗? |
是的,是一个tensor,可以转换成np. array |
我用的nerfstudio 版本 调用ns-export 导出点云时候出现 pipeline.datamanager.train_pixel_sampler.num_rays_per_batch = self.num_rays_per_batch |
你好,我们并没有在nerfstudio上严格实现点云导出等功能,这可能导致无法预料的错误,目前我们没有维护该分支的计划,你可能需要根据nerfstudio的源码对这部分进行调整。 |
感谢你的回复 |
偶对了,我用的是master分支的,没有用nerfstudio,我只是单纯的把seg_mask_grid.grid取了出来 |
而且它打印出来的形状好像也不是320**3,呜呜 |
hellohello,这位同学我想问问你,你现在知道怎么理解和保存这个grid数据了么? |
如题,请问有什么较好的办法吗?我尝试利用nerfstudio中ns-export方法来操作,由于自身能力限制我没有办法生成这个实验的.yml文件。所以我需要您的帮助,这将对我后续研究有很大的帮助,谢谢。
The text was updated successfully, but these errors were encountered: