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

pls advise how to fix this #6

Open
xiohulp opened this issue Feb 6, 2024 · 1 comment
Open

pls advise how to fix this #6

xiohulp opened this issue Feb 6, 2024 · 1 comment

Comments

@xiohulp
Copy link

xiohulp commented Feb 6, 2024

File "D:\Moore-AnimateAnyone-for-windows\venv\Lib\site-packages\diffusers\models\modeling_utils.py", line 155, in load_model_dict_into_meta
raise ValueError(
ValueError: Cannot load ./pretrained_weights/stable-diffusion-v1-5/ because down_blocks.0.attentions.0.transformer_blocks.0.attn2.to_k.weight expected shape tensor(..., device='meta', size=(320, 1280)), but got torch.Size([320, 768]). If you want to instead overwrite randomly initialized weights, please make sure to pass both low_cpu_mem_usage=False and ignore_mismatched_sizes=True. For more information, see also: huggingface/diffusers#1619 (comment) as an example.

@fenghe12
Copy link

在配置文件中 把基模型的路径更换为SD-V-1-5的

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

2 participants