kwea123 / nerf_pl

NeRF (Neural Radiance Fields) and NeRF in the Wild using pytorch-lightning
https://www.youtube.com/playlist?list=PLDV2CyUo4q-K02pNEyDr7DYpTQuka3mbV
MIT License
2.66k stars 470 forks source link

Does positive loss/b_l necessary for validity of training nerf-w? #174

Closed LongruiDong closed 1 year ago

LongruiDong commented 1 year ago

I am training nerf-w on replica data which contains hardly any transient objects. The total loss has become negative during first epoch, cause the beta loss b_l achieve to around -0.4 quickly.

I notice that you want to make beta to be positive here. I think it might reasonable that beta is quite small as the data is almost static. From your experience, do you think negative beta values and negative loss values will affect the model training effect?

kwea123 commented 1 year ago

No, positive or not has no difference. I add some constant to make it positive only in order to use the "log scale" of tensorboard to visualize it better