ParthaEth / GIF

GIF is a photorealistic generative face model with explicit 3D geometric and photometric control.
https://gif.is.tue.mpg.de/
MIT License
405 stars 63 forks source link

about flame parameters #21

Closed Young1403 closed 1 year ago

Young1403 commented 3 years ago

Hi, thanks for your great work! I find that DECA can only preocess images with size 224224 ? How do you get the flame parameters of FFHQ which are 1024 1024? Hope to get your guidance!

ParthaEth commented 2 years ago

Well, from a geometry perspective nothing really changes w.r.t resolution. So you can imagine all parameters except for the internal camera matrix everything stays the same. The only things that change in the internal camera matrix are the camera centre and the focal length. But the only place where the camera is used is when we obtain the renderings. So you might as well use everything as is and upsample the 256X256 renderings. Stretching even further, The renderings really do not contain information that is only visible in very high resolution and are not visible at 256X256. So all in all you might as well keep everything the same on the DECA side and train with 1024X1024 images.