kohya-ss / kohya-ss/sd-scripts

LoRA is activated even without trigger word

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

Description

Hi,
I've trained a LoRA using Kohya SS repo.
After the training, I see that the LoRA changes the results of the generation even without using the trigger words. I trained the LoRA using the dataset convention num-repeats_trigger-word (i.e. 20_background, which is my trigger word).
Any idea why? Should I just load it whenever I want to use it? This would slow down inference significantly...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported generation behavior with the trained LoRA, comparing results with and without the trigger word. Review the Kohya SS training setup and the dataset naming convention `20_background`; done means identifying whether this is expected behavior or a reproducible defect and documenting the cause.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.