Skip to content

Commit 2fdb3a3

Browse files
committed
t2 random
1 parent dd11f56 commit 2fdb3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml4h/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def plot_metric_history(history, training_steps: int, title: str, prefix="./figu
463463
col += 1
464464
if col >= cols:
465465
break
466-
if len(history.history[k]) < 1:
466+
if len(history.history[k]) < 2:
467467
logging.info(f"Not enough epochs to plot learning curves at:{k}")
468468
return
469469

0 commit comments

Comments
 (0)