Refactor record

This commit is contained in:
Remi Cadene
2024-10-12 20:44:55 +02:00
parent 97b1feb0b3
commit b07f91b710
9 changed files with 935 additions and 672 deletions

View File

@@ -383,7 +383,7 @@ def train(cfg: DictConfig, out_dir: str | None = None, job_name: str | None = No
logging.info(f"Checkpoint policy after step {step}")
# Note: Save with step as the identifier, and format it to have at least 6 digits but more if
# needed (choose 6 as a minimum for consistency without being overkill).
logger.save_checkpont(
logger.save_checkpoint(
step,
policy,
optimizer,