from local

This commit is contained in:
dohe0342 2022-12-27 10:59:32 +09:00
parent 7350e56647
commit 18bb81c0b3
2 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@ def load_checkpoint_if_available(
model_avg=model_avg,
optimizer=optimizer,
scheduler=scheduler,
strict=False,
strict=True if not params.add_adapter else False,
)
keys = [