change method name, repo is private in default etc

This commit is contained in:
Kohya S
2023-04-05 23:16:49 +09:00
parent 74220bb52c
commit 541539a144
7 changed files with 88 additions and 68 deletions

View File

@@ -305,7 +305,7 @@ def train(args):
text_encoder.to(weight_dtype)
# resumeする
train_util.resume(accelerator, args)
train_util.resume_from_local_or_hf_if_specified(accelerator, args)
# epoch数を計算する
num_update_steps_per_epoch = math.ceil(len(train_dataloader) / args.gradient_accumulation_steps)