Closed GongXinyuu closed 1 year ago
Hello, thanks for your great work!
However, I met such an error when I tried to from lora_diffusion import patch_pipe, tune_lora_scale.
from lora_diffusion import patch_pipe, tune_lora_scale
The error message is ImportError: cannot import name 'CLIPTextModelWithProjection' from 'transformers'. Coudl you help to check on this? Thanks.
ImportError: cannot import name 'CLIPTextModelWithProjection' from 'transformers'
CLIPTextModelWithProjection is one of the newest additions to the Transformers library, I've typically had that issue when using a version that is <4.25.1
Awesome.
Hello, thanks for your great work!
However, I met such an error when I tried to
from lora_diffusion import patch_pipe, tune_lora_scale
.The error message is
ImportError: cannot import name 'CLIPTextModelWithProjection' from 'transformers'
. Coudl you help to check on this? Thanks.