FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
370 stars 56 forks source link

When using animatediff to test some frames in the middle, how to make it work #80

Open WainWong opened 5 months ago

WainWong commented 5 months ago

My usage scenario looks like this:

I have a total of 300 Control Net pre-processed image,I will use it to generate 300 frames of animation,Here are my connections image But sometimes, I'll need to test it, so I'll use the skip parameter and the batch parameter to control him to only generate some frames in the middle of the 300 frames,just like this: image I found that after this input, prompt does not skip with reference to my skip parameter, his frame index still starts from 0. What is the best way to deal with this problem?

chris-arsenault commented 2 weeks ago

start and end only seem to control the prompt regexing (possible bug?). I found adding a settings param here: https://github.com/FizzleDorf/ComfyUI_FizzNodes/blob/main/BatchFuncs.py#L316 and then changing the loops on lns: 321 and 325 to look at start/end to work for me