yiranran / Audio-driven-TalkingFace-HeadPose

Code for "Audio-driven Talking Face Video Generation with Learning-based Personalized Head Pose" (Arxiv 2020) and "Predicting Personalized Head Movement From Short Video and Speech Signal" (TMM 2022)
https://ieeexplore.ieee.org/document/9894719
734 stars 146 forks source link

No such file or directory #15

Open chenzeng11 opened 4 years ago

chenzeng11 commented 4 years ago

您好,我在colab上运行您readme中给的代码。 1.执行!cd render-to-video/; python train_19news_1.py 1 0 没有问题,有到60个epoch的模型文件,最后的提示为:processing (0095)-th image... ['/content/drive/My Drive/GAN/Audio-driven-TalkingFace-HeadPose/render-to-video/../Deep3DFaceReconstruction/output/render/19_news/1/bm/frame395_renderold_bm.png'] 2.执行测试:!cd Audio/code/; python test_personalized.py 5_00006 1 0 问题1: 在test_memory.py中测试了N = dataset.len()的大小为0; 问题2: 提示: cp: cannot stat '../../render-to-video/results/memory_seq_p2p/1/test_60/imagesrseq_1_5_00006_full9//R_1_reassign2-00002_blend2_fake.png': No such file or directory cp: cannot stat '../../render-to-video/results/memory_seq_p2p/1/test_60/imagesrseq_1_5_00006_full9//R_1_reassign2-00002_blend2_fake.png': No such file or directory Traceback (most recent call last): File "test_personalized.py", line 102, in os.remove(video_name) FileNotFoundError: [Errno 2] No such file or directory: '../results/atcnet_pose0_con3/1/5_00006_99/1_5_00006wav_results_full9.mp4'

说明:使用的您最新的visualizer.py文件。 请问问题可能是出在什么地方呢?

yiranran commented 4 years ago

还是看看python test_personalized.py这个命令出错的源头吧。这个pipeline很长,应该是前面某一步报错了 根据"在test_memory.py中测试了N = dataset.len()的大小为0;"可能是blending那步没成功==