Commit bd34e4d4 authored by Wes Brown's avatar Wes Brown

Save a checkpoint at the end of every epoch.

parent 55a00bbf
......@@ -444,6 +444,8 @@ with tqdm(total=total_steps, initial=curr_step) as t:
curr_step += 1
t.update(1)
if train_config["epochs"] > 1:
hypernetwork_saver(f"epoch-{epoch}")
eval_fn(curr_step)
hypernetwork_saver("final")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment