Kosinkadink / ComfyUI-AnimateDiff-Evolved

Improved AnimateDiff for ComfyUI and Advanced Sampling Support
Apache License 2.0
2.77k stars 208 forks source link

SparseCtrl-RGB, flashing in generated frames #476

Open aihopper opened 2 months ago

aihopper commented 2 months ago

Here is a minimal repro case.

We'll start with something that works so we can keep it as a reference. This basic workflow below generates a video of a running person (SparseCtrl-RGB module is bypassed so all works as expected):

ComfyUI Workflow Result
readme_00001 video

Now I enable the SparseCtrl-RGB module and ask it to interpolate every other frame, notice the flashing:

ComfyUI Workflow Result
readme_00002 video

notes:

Any help is ideas on how to debug this are very welcome. Cheers

aihopper commented 2 months ago

Please note this issue also happens in the developers repo: https://github.com/guoyww/AnimateDiff/issues/387

Hopefully this helps others set expectations and saves them some time.

rocky533 commented 2 months ago

RGB controls are limited, with that flashing appearing anytime you use it for the full duration. Setting end at time to .4-.6 can stop this, as well as setting soft scaled weights on the controls at .825 - .9. Both these minimize the flashing, but don't completely resolve it.