kohya-ss / kohya-ss/sd-scripts

using '--alpha_mask' option seems not training text encoder

Open
#1,657 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

Hi.
I usually use '--alpha_mask' option in the 'dev' branch.
If i use this option, text_encoder learning curve is disappear in the tensorboard.
![image](https://github.com/user-attachments/assets/20602a05-77df-43b2-83dc-09c45ca825f8)

without '--alpha_mask' option, text_encoder training seems to work well.
![image](https://github.com/user-attachments/assets/5927ffb0-c854-4a5e-98aa-e16311a67006)

Am i something wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report on the dev branch with and without the --alpha_mask option, then compare the text_encoder learning curve in TensorBoard. Trace where that option affects training and determine whether the text encoder is still being trained; done means the observed behavior is explained and the option behaves as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.