kakaobrain / nerf-factory

An awesome PyTorch NeRF library
https://kakaobrain.github.io/NeRF-Factory
Apache License 2.0
1.27k stars 107 forks source link

Poor quality of rendered images and videos using pretrained models #35

Closed ZhengtaoXu123 closed 1 year ago

ZhengtaoXu123 commented 1 year ago

I've been trying to run the rendering code from the nerf_factory using the pretrained models available in the repository, specifically from this path: https://huggingface.co/nrtf/nerf_factory/tree/main/mipnerf360_nerf_360_v2_garden_220901. I ran the following command: python3 run.py --ginc configs/mipnerf360/360_v2.gin --scene garden --ginb run.run_train=False --ginb run.run_eval=False --ginb run.run_render=True Unfortunately, the resulting rendered images and videos have very poor quality. I also tried the llff_flower model and encountered similar poor results.

I would like to know if there is an issue with the rendering code or if I'm missing something in the process. Any help or guidance would be greatly appreciated. image000(1) image000

ZhengtaoXu123 commented 1 year ago

After further investigation, I found that downgrading pytorch-lightning from version 1.9.0 to 1.6.0 resolved the problem. The rendered videos and images now have a much better quality. Thanks a lot for your great work! https://user-images.githubusercontent.com/58548306/227269565-fc315580-04b8-47e5-8fa7-f882cbf4b366.mp4 image000