Skip to content

Commit

Permalink
fix(evaluation): fix evaluate training charts
Browse files Browse the repository at this point in the history
  • Loading branch information
SherlockMones committed Jul 15, 2022
1 parent e6348e5 commit 87e3f9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aucmedi/evaluation/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def evaluate_fitting(train_history,
# if no prefix available -> add epochs to all ft phases
else:
# identify number of epochs global
tl_epochs = dt_melted["epoch"].max()
filter_tl = dt_melted[dt_melted["metric"].str.startswith("tl_")]
tl_epochs = filter_tl["epoch"].max()

# compute fine tune epoch update
ft_update = tl_epochs

Expand Down

0 comments on commit 87e3f9d

Please sign in to comment.