mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-03-05 02:29:49 +00:00
fixed bug with trigger word embedding. Allow control images to load from the dataloader or legacy way
This commit is contained in:
@@ -231,8 +231,8 @@ class BaseSDTrainProcess(BaseTrainProcess):
|
||||
if self.trigger_word is not None:
|
||||
# just so auto1111 will pick it up
|
||||
o_dict['ss_tag_frequency'] = {
|
||||
[self.trigger_word ]: {
|
||||
[self.trigger_word ]: 1
|
||||
f"1_{self.trigger_word}": {
|
||||
f"{self.trigger_word}": 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user