yanx27 / EverybodyDanceNow_reproduce_pytorch

Everybody dance now reproduced in pytorch
MIT License
607 stars 172 forks source link

About the face enhancer #28

Open fantasy-fish opened 5 years ago

fantasy-fish commented 5 years ago

In enhance.py, there're two directories that haven't appeared in the previous steps. One is dataset_dir = '../data/face_yx_fang'. I just copy results/target/test_latest/images to this directory, which are the fake images generated in the previous step by running transfer.py. Another one is ckpt_dir = '../checkpoints/yxu_face', which I think is the same as ckpt_dir = '../checkpoints/face'. But there's still something wrong with the final video with face enhancement. It seems that the head position from pose_source_norm.npy is wrong. Does anyone have any idea with this?

Below are some sample frames from my current result. 00000 00532 00842

jackylee12 commented 5 years ago

你好,你有微信号吗?我的981687874

superior1993 commented 5 years ago

你好,请问你在运行python ./face_enhancer/prepare.py 遇到FileNotfoundError: [Error2] No such file or directory: '../data/face/'这个错误吗? 如果遇到,你是如何解决的呢?谢谢

zlj0711 commented 5 years ago

把代码里的空格删掉

skks11 commented 4 years ago

我遇到了同样的问题 请问你解决了吗

HelixNGC7293 commented 4 years ago

For whoever watch this, you need to change the filename of face_enhancer model to 'final_generator.pth' in the folder './checkpoints/face/'