Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/tmp.mp4: No such file or directory #80

Open
thisiskiru opened this issue Feb 8, 2023 · 2 comments
Open

examples/tmp.mp4: No such file or directory #80

thisiskiru opened this issue Feb 8, 2023 · 2 comments

Comments

@thisiskiru
Copy link

examples/tmp.mp4: No such file or directory

image

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

@Rahul5733
Copy link

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

@bebuk
Copy link

bebuk commented Mar 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants