chaojie / ComfyUI-Moore-AnimateAnyone

Apache License 2.0
211 stars 20 forks source link

ComfyUI-Moore-AnimateAnyone module for custom nodes: cannot import name 'CaptionProjection' from 'diffusers.models.embeddings' (C:\Users\xxx\.conda\envs\SD-use\lib\site-packages\diffusers\models\embeddings.py) #4

Closed HandsomeDong closed 10 months ago

HandsomeDong commented 10 months ago

After successfully git clone && install && run download_weights, I got this error when I start ComfyUI QQ截图20240119210050

QQ截图20240119210103

chaojie commented 10 months ago

https://github.com/MooreThreads/Moore-AnimateAnyone/issues/13

You have this error because you are using newest diffusers library

To fix, in transformer_2d.py:

Replace CaptionProjection with PixArtAlphaTextProjection

HandsomeDong commented 10 months ago

MooreThreads/Moore-AnimateAnyone#13

You have this error because you are using newest diffusers library

To fix, in transformer_2d.py:

Replace CaptionProjection with PixArtAlphaTextProjection

Thanks! Resolved it!