Closed YijieYang23 closed 3 months ago
Following the same procedure, I trained the DNA-Rendering: 4k4d_0013_01 sample and rendered novel views. The rendering results turned out to be very good and met expectations.
https://github.com/user-attachments/assets/92361b35-d86b-49ae-83c5-bbc1d026a189
Hi, thanks for using our code!
The basketball results indeed look very strange. I tried reproducing but the training looks normal on my end. Could you please try checking the training recording using tensorboard (the log should be located at data/record/4k4d_basketball_r4) and check whether there's some instability? In some rare occasions, the loss might suddenly soar and never go down. If that's the case, a possible solution is to use the more stable CUDA-based rasterizer (enable using render_gs=True
, the full command line should be:).
evc-train -c configs/exps/4k4d/4k4d_basketball_r4.yaml model_cfg.sampler_cfg.render_gs=True
Yes! I checked the training log using TensorBoard. In contrast to other normal experiments (e.g., 4k4d_0013_01), NHR basketball experiment shows a significant fluctuation and upward trending loss, especially for the msk_loss. When I enabled render_gs=True, this fluctuation and upward trend in the loss did not occur, and I obtained good rendering results. Thank you very much for resolving the problem.
Additionally, I would like to inquire if you have any plans to further complete the Optimizing the Cameras section in the README. Would it be possible for you to provide some concise guidance here?
Good to hear the issue is resolved!
The TLDR is to export the optimized camera using this script: https://github.com/zju3dv/4K4D/blob/main/scripts/tools/extract_optimized_cameras.py and use the config entry dataloader_cfg.dataset_cfg.intri_file
and extri_file
to select the optimized cameras, and do the same for val_dataloader
. We've updated the way of loading and using the optimized camera since release and forgot to update the readme. We'll update this shortly! Thanks for the heads-up!
Hi, I had the same problem on NHR basketball and tried training with model_cfg.sampler_cfg.render_gs=True
but the results were not better at all. The renders ended up being completely transparent. Does someone have an idea why this is happening?
Hi, I followed the readme tutorial, prepared the full NHR dataset and run the training scripts:
after 1600 training epoch was done, I found bad rendering quality in eval results, like this: the computed metrics are as follows:
I generate the realtime version model:
and use the converted model to render novel views:
The rendering video is as follows:
https://github.com/user-attachments/assets/9f93de80-f0b8-4f14-9abd-ea7ddd9907ec
It appears that the points on the human body are quite big and noisy. Additionally, there are many outlier small points scattering outside the region of the human body.
Could you give some suggestion on what might be causing the bad result?