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

fix: backward compatibility for text_encoder_lr #1620

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

Akegarasu
Copy link

fix for backward compatibility in toml.

text_encoder_lr = None if args.text_encoder_lr is None or len(args.text_encoder_lr) == 0 else args.text_encoder_lr[0]
TypeError: object of type 'float' has no len()

@kohya-ss kohya-ss merged commit 24f8975 into kohya-ss:sd3 Sep 20, 2024
1 check passed
@kohya-ss
Copy link
Owner

I haven't tested other than FLUX.1 LoRA on sd3 branch with .toml yet. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants