bj80heyue / One_Shot_Face_Reenactment

Official test script for 2019 BMVC paper 'One-shot Face Reenactment' in PyTorch.
MIT License
191 stars 36 forks source link

why the gammaTrans? #7

Open linghai06 opened 5 years ago

linghai06 commented 5 years ago

Hi, nice work! I found in you codes that you adjust the img_src's gamma before feeding to the network:

img_src = self.gammaTrans(img_src, 0.5)

may I ask why?