-
Notifications
You must be signed in to change notification settings - Fork 6k
Training example of controlNet yield error #3101
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
Comments
If the same training script runs with Ccing @williamberman and @yiyixuxu. |
I believe the default resizing code in the training script is not resizing to a multiple of 8 causing the encoded image to have different height/width dimensions than the encoded conditioning image (which uses a separate encoder that's part of the controlnet model) |
i will check this |
@svjack I think you took your dataset off the hub so I can't test 😁 |
I have tried the code you fork from main branch of diffusers |
hey @svjack could you elaborate on what went wrong? |
may be the image_transforms part as you say. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Describe the bug
I try training controlnet in my dataset "https://huggingface.co/datasets/svjack/diffusiondb_100_canny_zh"
with small gpu memory config as following
Reproduction
Logs
System Info
In the newest version of diffusers of python3.7 in A4000
The text was updated successfully, but these errors were encountered: