Skip to content

Commit

Permalink
Debugging, set up load_ckpt for eval
Browse files Browse the repository at this point in the history
  • Loading branch information
smsharma committed Jan 17, 2024
1 parent 8738a0f commit fd46868
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 70 deletions.
3 changes: 3 additions & 0 deletions configs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def get_config():
training.ckpt_best_metric = "loss" # "loss" or "top_xx_accuracy"
training.ckpt_best_metric_best_mode = "min" # "max" or "min"
training.ckpt_keep_top_n = 3 # Save the top `ckpt_keep_top_n` checkpoints based on `ckpt_best_metric`
training.load_ckpt = True
training.ckpt_run_name = "ancient-pine-88"


# Sum1 options
config.sum1 = sum1 = ml_collections.ConfigDict()
Expand Down
26 changes: 13 additions & 13 deletions notebooks/04_retrieval_acc.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit fd46868

Please sign in to comment.