Skip to content

Commit

Permalink
t2 random
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidtronix committed Mar 4, 2025
1 parent dd11f56 commit 2fdb3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml4h/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def plot_metric_history(history, training_steps: int, title: str, prefix="./figu
col += 1
if col >= cols:
break
if len(history.history[k]) < 1:
if len(history.history[k]) < 2:
logging.info(f"Not enough epochs to plot learning curves at:{k}")
return

Expand Down

0 comments on commit 2fdb3a3

Please sign in to comment.