Open fantasy-fish opened 5 years ago
你好,你有微信号吗?我的981687874
你好,请问你在运行python ./face_enhancer/prepare.py 遇到FileNotfoundError: [Error2] No such file or directory: '../data/face/'这个错误吗? 如果遇到,你是如何解决的呢?谢谢
把代码里的空格删掉
我遇到了同样的问题 请问你解决了吗
For whoever watch this, you need to change the filename of face_enhancer model to 'final_generator.pth' in the folder './checkpoints/face/'
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 copyresults/target/test_latest/images
to this directory, which are the fake images generated in the previous step by running transfer.py. Another one isckpt_dir = '../checkpoints/yxu_face'
, which I think is the same asckpt_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.