jixinya / EVP

Code for paper 'Audio-Driven Emotional Video Portraits'.
301 stars 49 forks source link

No such file or directory: base_weight.pickle #4

Closed jeesunkim closed 3 years ago

jeesunkim commented 3 years ago

Enjoyed the paper - thanks! Looking forward to seeing the training code :) - A few things:

  1. in test.py line 208 add_audio(config['video_dir'], opt.in_file) throws an error - AttributeError: 'Namespace' object has no attribute 'in_file' (the coide runs if this line is commented out).
  2. Line 3 in M003_test.yaml video_dir: audio2lm/result/M003.mp4 throws an error - OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)' that can be fixed by changing it to video_dir: audio2lm/result/M003.avi
  3. In section 2 - running python lm2video/lm2map.py results in FileNotFoundError: [Errno 2] No such file or directory: './base_weight.pickle' - not sure how this file is generated or obtained. Any help much appreciated - 谢谢你
jixinya commented 3 years ago

Thanks for your notice. The code has been updated and we change the 'opt.in_file' into 'opt.audio' in test.py line 208. And 'base_weight.pickle' can be found in google-drive under the path '/lm2video/base_weight.pickle' in README.md.

jeesunkim commented 3 years ago

Great - that works - so, closing this issue 👍