-
Notifications
You must be signed in to change notification settings - Fork 22
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
"Copy weights from old conv layer" occurred error #15
Comments
#5 |
I put the config and safetensor files for the sd1.5 model in the unet_vton_train folder and the unet_garm_train folder, is this correct? |
@GeneralWhite could you share the sd1.5 url? I download form huggingface, but it still have some problems |
I download the sd1.5 from huggingface too. |
Although I changed the model to sd1.5, this error also occurs |
Hi I run into this error.
Should I just comment the line "conv_new.weight.data[:, :4] = unet_vton.conv_in.weight.data"?
File "/OOTDiffusion-train/ootd_train.py", line 208, in
conv_new.weight.data[:, :4] = unet_vton.conv_in.weight.data # Copy weights from old conv layer
RuntimeError: The expanded size of the tensor (4) must match the existing size (8) at non-singleton dimension 1. Target sizes: [320, 4, 3, 3]. Tensor sizes: [320, 8, 3, 3]
The text was updated successfully, but these errors were encountered: