mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-17 09:18:00 +00:00
fix: handle missing tokenizers in FluxTokenizeStrategy with fallbacks
Co-authored-by: aider (deepseek/deepseek-chat) <aider@aider.chat>
This commit is contained in:
@@ -480,6 +480,7 @@ class NetworkTrainer:
|
||||
return loss.mean()
|
||||
|
||||
def train(self, args):
|
||||
self.args = args # store args for later use
|
||||
session_id = random.randint(0, 2**32)
|
||||
training_started_at = time.time()
|
||||
train_util.verify_training_args(args)
|
||||
|
||||
Reference in New Issue
Block a user