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

Saving each iteration to create a video #3

Closed
shaolinseed opened this issue Jul 9, 2021 · 3 comments
Closed

Saving each iteration to create a video #3

shaolinseed opened this issue Jul 9, 2021 · 3 comments

Comments

@shaolinseed
Copy link

Is there a way I can save each image along the process rather than just the final output? Then using ffmpeg to combine the images into an animation? I've got it working on my PC! just interested in that feature as I can't get 900*900 on collab.. Thanks!

@nerdyrodent
Copy link
Owner

There is indeed. Make a directory called "steps" and uncomment what is currently line 395:
#imageio.imwrite('./steps/' + str(i) + '.jpg', np.array(img))

@nerdyrodent
Copy link
Owner

The current version now has the -vid option. E.g.
python generate.py -p "A steps video" -vid True

@shaolinseed
Copy link
Author

The current version now has the -vid option. E.g.
python generate.py -p "A steps video" -vid True

great thanks alot man !

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

2 participants