huggingface/diffusers

AnimateDiff SparseCtrl RGB does not work as expected

开放

#9,508 创建于 2024年9月23日

 (9 条评论) (0 个反应) (0 位负责人)Python (4,562 个派生)batch import
advancedbugcontributions-welcomehelp wantedstale

仓库指标

星标
 (22,190 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Relevant comments are this and this.

AnimateDiff SparseCtrl RGB does not work similar to other implementations and cannot replicate their outputs. This makes me believe that there is something incorrect with our SparseControlNet or MotionAdapter implementation.

When comparing the results of the original/Comfy implementation to Diffusers implementation, one can notice that if an image is used with an unrelated prompt, the Diffusers implementation ignores the image and just follows the prompt whereas the other implementations try to incorporate both.

Since the original and Comfy implementations produce this behaviour consistently, this seems more like a problem with Diffusers implementation. However, I've not been able to spot differences in implementation just by comparing the code visually. I also tried matching outputs layerwise and it seemed to be alright (although I didn't investigate this as deeply as I should have due to other priorities).

If someone from the community actively following/using the AnimateDiff implementations can help determine the cause of this bug, it would be really awesome and helpful.

贡献者指南