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

Output contains both Driving and Output video as single output file #8

Open
nitinmukesh opened this issue Jul 7, 2024 · 4 comments

Comments

@nitinmukesh
Copy link

How can we output only the output video without combining Driving video

@johndpope
Copy link

how bout make the driving video also the input video?

@Inferencer
Copy link

How can we output only the output video without combining Driving video

I cant remember what I did but i fixed that in this repo probs the demo.py concat stuff so you could copy that code

@nitinmukesh
Copy link
Author

nitinmukesh commented Jul 8, 2024

How can we output only the output video without combining Driving video

I cant remember what I did but i fixed that in this repo probs the demo.py concat stuff so you could copy that code

Sorry which repo should I refer

This is the code in demo.py

    imageio.mimsave(opt.result_video, [img_as_ubyte(frame) for frame in predictions], fps=20)
#    imageio.mimsave(opt.result_video, [img_as_ubyte(np.concatenate([source_image[0],frame], axis=1)) for frame in predictions], fps=20)

@Inferencer
Copy link

How can we output only the output video without combining Driving video

I cant remember what I did but i fixed that in this repo probs the demo.py concat stuff so you could copy that code

Sorry which repo should I refer

This is the code in demo.py

    imageio.mimsave(opt.result_video, [img_as_ubyte(frame) for frame in predictions], fps=20)
#    imageio.mimsave(opt.result_video, [img_as_ubyte(np.concatenate([source_image[0],frame], axis=1)) for frame in predictions], fps=20)

my bad forgot to add link
https://github.com/Inferencer/SickFace
i think i removed the axis stuff tho

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