Open JerryPW opened 9 months ago
Hi, your calculation process is correct.
In my experiment, I was able to achieve relatively good geometric optimization by just adding an L1 depth loss. One point to note is that the depth range from rasterization is not 0-1. You need to use some mapping, such as normalization, to output the depth.png. Here is a simple example for depth visualization
Thanks for point out the depth range problem! I haven't noticed that and it produce a terrible psnr, which bother me a long time. I'll try your suggestion in a moment.
Hi! Sorry to bother again! Since I'm not really familiar with CUDA programing, I'm not sure whether my process in on the right way. I noticed that you have posted a version of depth-diff-gaussian-rasterization with forward and backward of depth loss in here, so all I should do is to add my depth pic into the
class Camera()
inscene/cameras.py
, and then call the depth intrain.py
when calculate loss, right?Here's the small demo that I added depth loss, and I wondered am I right, or there's other loss function should be called when calculate depth loss?
Looking foward to your reply!