MakeItTalk icon indicating copy to clipboard operation
MakeItTalk copied to clipboard

examples/tmp.mp4: No such file or directory

Open thisiskiru opened this issue 2 years ago • 2 comments

examples/tmp.mp4: No such file or directory

image

even if the model echo "finish image2image gen" , there is no output.

thisiskiru avatar Feb 08 '23 16:02 thisiskiru

i am having the same issue, have you found any solution for this?

Rahul5733 avatar Feb 27 '23 12:02 Rahul5733

Had the same issue running this on WSL, managed to solve it by:

  • changing video format from .mp4 to .avi
  • making sure that cc2.VideoWriter_fourcc has capitalised MJPG instead of mjpg

Below is the minimum set of changes that were required to make python main_end2end.py --jpg <filename.jpg> work for me. I haven't yet had the time nor need to dig into other paths, hope this helps 🤞

In src/approaches/train_image_translation.py:

  • in line 386 replace out.mp4 with out.avi
  • in line 386 replace mjpeg with MJPEG
  • in line 429 replace out.mp4 with out.avi

In util/vis.py:

  • in line 38 replace tmp.mp4 with tmp.avi
  • in line 52 replace tmp.mp4 with tmp.avi
  • in line 58 replace tmp.mp4 with tmp.avi
  • in line 62 replace tmp.mp4 with tmp.avi

bebuk avatar Mar 21 '23 20:03 bebuk