nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
9.55k stars 1.3k forks source link

Normal error when exporting mesh using poisson reconstruction #2042

Open iszihan opened 1 year ago

iszihan commented 1 year ago

I trained a model with normal computation turned on and tried to export a mesh with poisson reconstruction but got an error.

Screenshot 2023-06-06 at 12 22 13 PM

Any idea how to get rid of this error?

MvWouden commented 1 year ago

I recall having encountered this before when my cropping was incorrect and didn't include any points (I may be wrong but perhaps this is useful somehow).

Zunhammer commented 1 year ago

I have the same error but only after training with depth-nerfacto (nerfacto works fine) and using the model_output normals. Changing to open3d normals solves it also for depth-nerfacto.

karun2016 commented 1 year ago

I am having the same AssertionError with the latest version (as of Sep. 13 2023) installed in my Ubuntu 20.04 machine. I trained a custom data set with 'ns-train nerfacto'. By the way, it was working without any issue for quite some time before the latest code base. 1) When I ns-export either pointcloud or poisson mesh with --normal-method=model_output it fails with assertion. 2) When I ns-export either pointcloud or poisson mesh with --normal-method=open3d it does n't spit any assertion error but it hangs there for ever. In one run, it was chucking along for close to 24 hours and still it has not produced output. Not sure how to proceed.