HavenFeng/photometric_optimization

Regarding a detail in the fitting code

yunfan0621 opened this issue · 2 comments

Hi, thanks for sharing this great work!

I have a little question regarding the main fitting code in the following line:

cam = torch.zeros(bz, self.config.camera_params); cam[:, 0] = 5.

Why hard code cam[:, 0] to 5. ? Is this a default setting in FLAME so that it may benefit the convergence of the fitting process?

Thank you!

Hi,
I also have the same question. Did you get to know the answer @yunfan0621?

sorry for the late reply, we hardcoded the z distance of the camera to make sure the camera view can always see the object. Since we used an orthographic projection camera, this z distance value doesn't really matter.