HzDmS / gaze_redirection

[Official Implementation] Photo-Realistic Monocular Gaze Redirection Using Generative Adversarial Networks, He et.al. ICCV 2019
MIT License
137 stars 21 forks source link

How to make the eyes closed? #7

Open renmengyuan opened 4 years ago

renmengyuan commented 4 years ago

Could the model make the eyes closed?

zhangqianhui commented 4 years ago

You can use the faces with closes eyes to train this model linking is https://github.com/zhangqianhui/GazeCorrection

renmengyuan commented 4 years ago

You can use the faces with closes eyes to train this model linking is https://github.com/zhangqianhui/GazeCorrection

Thanks!The DeepWarp is your baseline model, could you share the implementation of DeepWarp. Very thanks!

zhangqianhui commented 4 years ago

https://github.com/BlueWinters/DeepWarp

r06631001 commented 4 years ago

hi @zhangqianhui : Do you know how to separate generator model from the only one checkpoint model to inference? The generator model should have only two input: x_test_r and angle_test_g

zhangqianhui commented 4 years ago

You can define a new the saver ?

r06631001 commented 4 years ago

Now I'm trying to use the restore method. Define the scope = 'generator', then restore the model from the ckpt. Finally, save it to a .pb file. However, i'm not sure if it will be the same as the result produced by the original ckpt model.

zhangqianhui commented 4 years ago

Do you want to freeze this model ?