You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The model weights were updated 17 hours ago and now loading them causes the error #14
@artyemk this one with CLIPImageProcessor is solved by installing 4.25.0.dev0 transformers version from transformers repo. In the nets configs they mention that they work with this version, but the next error with getattr() i haven't solved yet
@artyemk this one with CLIPImageProcessor is solved by installing 4.25.0.dev0 transformers version from transformers repo. In the nets configs they mention that they work with this version, but the next error with getattr() i haven't solved yet
I was able to solve installing transformers with this command
Traceback (most recent call last):
File ".\im2im.py", line 11, in <module>
pipe = StableDiffusionImageEmbedPipeline.from_pretrained("lambdalabs/sd-image-variations-diffusers")
File "C:\Users\Landon\anaconda3\envs\lambda-diffusers\lib\site-packages\diffusers\pipeline_utils.py", line 373, in from_pretrained
load_method = getattr(class_obj, load_method_name)
TypeError: getattr(): attribute name must be string
Thank you this works, however now i'm curious is there a way to run this with a lower memory GPU? for example I see people use .half(), or fp16 how would I do that using this script?
Thanks again for your feedback. I am running on Nvidia 3070 with 8GB.
Activity
KyriaAnnwyn commentedon Nov 29, 2022
updated transformers to 4.25.0.dev0
With this version I get the following error:
TypeError: getattr(): attribute name must be string when loading
generalsvr commentedon Nov 30, 2022
Same error:
AttributeError: module transformers has no attribute CLIPImageProcessorAny solution?
KyriaAnnwyn commentedon Nov 30, 2022
@artyemk this one with CLIPImageProcessor is solved by installing 4.25.0.dev0 transformers version from transformers repo. In the nets configs they mention that they work with this version, but the next error with getattr() i haven't solved yet
KyriaAnnwyn commentedon Nov 30, 2022
Other solution is to checkout previous version of nets configs and weights
generalsvr commentedon Nov 30, 2022
@KyriaAnnwyn I tried to solve this issue by running
pip install --upgrade git+https://github.com/huggingface/transformers.gitBut now I get another error:
AttributeError: 'CLIPVisionModelWithProjection' object has no attribute 'get_image_features'KyriaAnnwyn commentedon Nov 30, 2022
@artyemk seems like the version of transformers you got is 4.24. Check this please
mkabatek commentedon Dec 1, 2022
I'm getting the same error. Trying to install 4.25.0.dev0 but i'm not sure how. Any advice?
mkabatek commentedon Dec 1, 2022
I was able to solve installing
transformerswith this commandHowever now I am also getting the error.
hniksoleimani commentedon Dec 3, 2022
install the following version of transformers:
run the following script:
generalsvr commentedon Dec 5, 2022
I solved this issue by initializing pipe like this:
KyriaAnnwyn commentedon Dec 5, 2022
@artyemk @hniksoleimani this makes you use old version of weights, but more interesting to test the new ones!
mkabatek commentedon Dec 5, 2022
@hniksoleimani @artyemk
Thank you this works, however now i'm curious is there a way to run this with a lower memory GPU? for example I see people use
.half(), orfp16how would I do that using this script?Thanks again for your feedback. I am running on Nvidia 3070 with 8GB.