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

v1.5.1 shape mismatch #416

Open
fanchunmeng-98 opened this issue Apr 17, 2024 · 1 comment
Open

v1.5.1 shape mismatch #416

fanchunmeng-98 opened this issue Apr 17, 2024 · 1 comment

Comments

@fanchunmeng-98
Copy link

lora-scripts-v1.5.1 解压后直接训练
checkpoints https://civitai.com/models/112902/dreamshaper-xl
不知道是不是版本兼容问题,报错一长串mismatch

size mismatch for mid_block.attentions.0.proj_out.weight: copying a param with shape torch.Size([1280, 1280])
from checkpoint, the shape in current model is torch.Size([1280, 1280, 1, 1])

RuntimeError: Error(s) in loading state_dict for CLIPTextModel:
Missing key(s) in state_dict: "text_model.embeddings.position_ids".

CalledProcessError: Command '['C:\StableDiffusionWorksapce\lora-scripts-v1.5.1\python\python.exe',
'./sd-scripts/sdxl_train_network.py', '--config_file',
'C:\StableDiffusionWorksapce\lora-scripts-v1.5.1\toml\autosave\20240417-230015.toml']' returned non-zero exit
status 1.

@fanchunmeng-98
Copy link
Author

更新到1.8.6后好了,我发现更新脚本里有个warning,只装了部分获取到的依赖

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

1 participant