volotat / SD-CN-Animation

This script allows to automate video stylization task using StableDiffusion and ControlNet.
MIT License
807 stars 62 forks source link

txt2vid hangs at random point in generation #89

Open maciekpoplawski opened 1 year ago

maciekpoplawski commented 1 year ago

I've tried to run longer generations - 1200 frames. One was successful, three next tries hanged at random point (about 900frame +/- 100). Ram is at 5/24gb, cuda 0%. Is there a way to try to debug it? Or is there a way to save unfinished video? For now i lost like 3x2h of generations :( Maybe some way to store png frames? Also there is no way to interrupt hanged process :(

thefixinhixon commented 1 year ago

The new version has an option to save frames, but I have issues with this as well, also seems to be an issue with vid2vid. Nothing in the console window to give any clues to what is going on either unfortunately. I seem to get to around 200-300 frames in before it dies.

maciekpoplawski commented 1 year ago

v0.9 Frame: 1149 / 2040; Time elapsed: 2:49:22; Time left: 2:11:20; with checked "Save frames into a folder nearby a video (check it before running the generation if you also want to save frames separately)" .... not any image saved anywhere :( shit this hurts.

maciekpoplawski commented 1 year ago

yep... the frames are saved.... after successful generation. To bad i didn't check before putting bigger work :(

maciekpoplawski commented 1 year ago

and i just rebooted the pc cause it fixes everything. And ... now the frames are saved when they are generated :D don't want to close this because the generations are still hanging at random point. But for now im super happy about png save option

volotat commented 1 year ago

@maciekpoplawski I'm glad that it helps, but I do not know how to help you with hanging issue as without any errors it is really hard to know the source of the problem.

maciekpoplawski commented 1 year ago

@maciekpoplawski I'm glad that it helps, but I do not know how to help you with hanging issue as without any errors it is really hard to know the source of the problem.

i would try to add a tone of prints and maybe i would pinpoint some part of the code.