ethanweber / nerfiller

NeRFiller project https://ethanweber.me/nerfiller/
Apache License 2.0
101 stars 3 forks source link

Trained with Only Gray Results #17

Open YuxinCHENGPE opened 1 month ago

YuxinCHENGPE commented 1 month ago

Hi, I tried the baseline on Blender dataset step by step under the guidance, started with ns-launch inpaint-blender and followed by ns-launch train-blender. The trained NeRF models and output rendering results are all in gray style and the camera outlines appear in the rendering results. I have no idea why it happened because I didn't change anything in code. I wander if you encouter with the same case and do you have any solution for this? Thanks so much.

image

image

ethanweber commented 1 month ago

Hey, so what looks to be happening is that the cameras are all cheating and the middle pixels in the frame are being closed really close up to each camera as "floaters". That's why you see the artifacts in the same location as the camera frame. If you open up the viewer while training, it should be even more apparent. Perhaps something changed in the base nerfstudio, but my suspicion is that the near plane is not being set properly. Can you trace down the specific command you ran to train this model? ns-launch will run everything in batch, but perhaps we can look at the specific command and track down why it did this. As for the inpaints, do they look reasonably consistent? For some of the baselines, I actually expect the result you are showing. Sometimes the training will fail completely when not using a good multi-view inpainting method.

YuxinCHENGPE commented 1 month ago

Thanks for your reply. I also noticed that the artifacts are the "floaters", which caused that the camera-path render results are still incomplete and the dataset render results are "overfitting". I followed the instruction to inpaint the blender datasets firstly with inpaint-blender and then train them with train-blender. Some command samples show below (with --dry-run option):

As for the floaters, I guess this is due to inpaint inconsistency. But I do not know how to change the codes or settings to get better results and need your help. There are two videos I rendered with the comand render-blender your provide to show the inpaints with grid-prior method and NeRF renders, shown as follow:

Looking forward to your help. Thanks :)

ahmadsalimi commented 1 month ago

I am also facing the same issue for the object-centric scenes. I guess something has changed in Nerfacto's implementation in more recent versions of nerfstudio that is causing the issue. Do you by any chance know the nerfstudio version used for the original experiments? I am using 1.1.3.

UPDATE: increasing the near plane helped with the floaters, but the reconstruction is still completely gray.

ethanweber commented 2 weeks ago

Hey all, I've been informed that Nerfstudio version 1.0.0 works as expected. I'm not sure what has changed between now and then, but I hope this helps to know in the meantime until figuring that out! (Please let me know if something learns why the results are gray for the latest Nerfstudio version.)