Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the default workflow, default parameters, an error occurs at runtime. #20

Open
cjc999 opened this issue Jul 18, 2024 · 10 comments
Open

Comments

@cjc999
Copy link

cjc999 commented Jul 18, 2024

Using the default workflow, default parameters, an error occurs at runtime.:

Error occurred when executing UltraPixelProcess:

Error(s) in loading state_dict for CLIPTextModelWithProjection:
size mismatch for text_projection.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([512, 1280]).
You may consider adding ignore_mismatched_sizes=True in the model from_pretrained method.

@cjc999 cjc999 changed the title Translation: Using the default workflow, default parameters, an error occurs at runtime. Using the default workflow, default parameters, an error occurs at runtime. Jul 18, 2024
@gtbloody
Copy link

same

1 similar comment
@javacoffer2020
Copy link

same

@cjc999
Copy link
Author

cjc999 commented Jul 20, 2024

I don't know where the problem lies

@femaip
Copy link

femaip commented Jul 21, 2024

this problem has been solved Problem Solving Document

@killpj
Copy link

killpj commented Jul 22, 2024

删除 ..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除掉,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

@gtbloody
Copy link

删除 ..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除掉,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

有效

@yqb888
Copy link

yqb888 commented Jul 23, 2024

删除..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

有效

删除 ..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除掉,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

按照这个步骤 结果还是报错

@killpj
Copy link

killpj commented Jul 23, 2024

没删除干净吧,先退出COMFYUI,不退出也是不行的,再删除models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k的缓存,.cache\sdwebuilauncher\hfmirror里的blob目录里就是缓存文件,不删除不重新下载,所以都要删除,huggingface里不能随便删,里面有可能有其他插件的模型

@javacoffer2020
Copy link

很可惜,我这里也没能工作。我确定已经删除了所有你指出的文件,还重新下载了所有的模型文件,但还是报错。

删除 ..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除掉,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

@gongzhe1990
Copy link

很可惜,我这里也没能工作。我确定已经删除了所有你指出的文件,还重新下载了所有的模型文件,但还是报错。

删除 ..cache\sdwebuilauncher\hfmirror\里面的文件,.cache\huggingface\hub目录里的models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k也删除掉,其他的最好别动。再运行流程,重新下载models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k

me same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants