threestudio
threestudio copied to clipboard
InstructNerf2Nerf custom capture
I am running IN2N on a custom capture. I first used NerfStudio to pre-process the data as illustrated here. However when used the processed data in IN2N pipeline:
- First I got parsing error (which I fixed)
- Then the training completely messed up, giving "[WARNING] Empty rays_indices!" all the time.
Has anyone tried running IN2N on a custom capture and got similar errors?
Hi, @yankeesong. Could you please share your data? I will try to help you figure out the issues.
Edited
https://drive.google.com/drive/folders/1v4MLNoSwxvSlWb26xvjxeoHpgjhi_s-s I also got the same warning when using the bear images provided by IN2N.
@yankeesong Can you reconstruct your scene successfully with NeRFStudio?
Yes I can. in2n from NeRFStudio also worked.
Here are some issues I've found in the current implementation:
Key problem:
- The
grid_prunein nerfacc will prune all samples if the scene is not initialized properly, resulting in "Empty rays" warning. To resolve this, we should setgrid_pruneto false. Other issues:
The L1 loss appears to be too small. It should be calculated with a sum reduction. It would be better to use importance sampling to save memory and improve reconstruction quality when grid_prune is false.
Thanks so much! Which branch is this modification in, or are you planning to push this modification?
Hi, I'm also facing the same problem. How did you solve it eventually ? Many thanks
I'm also facing the same problem. How did you solve it eventually? Thanks
I'm also facing the same problem. How did you solve it eventually? Thanks !!
@yankeesong Have you solved this problem? Can you please tell us what to do?
Hi all, Sorry for the late reply. I eventually used NeRFStudio's InstructNeRF2NeRF implementation (since I was pressed for time). I haven't tried to implemented @DSaurus suggestions yet. I guess I should leave this issue open.
@yankeesong Thank you very much for your reply. I'm sorry to bother you again. I'm looking for the same solution as you, but I also have a problem with in2n implemented by nerfstudio. Have you ever encountered this?https://github.com/ayaanzhaque/instruct-nerf2nerf/issues/60
Not that I recall (this was a while ago though). Hope you resolve this eventually!