Skip to content

Commit

Permalink
fix list index
Browse files Browse the repository at this point in the history
인덱싱 잘λͺ»λΌμ„œ 였λ₯˜λ‚˜λ˜κ²ƒ μˆ˜μ •
  • Loading branch information
chl8469 committed Sep 15, 2021
1 parent 8bf4eac commit eced4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def check_expr_over(experiment_id, experiment_name, experiment_path):
ORDER BY mae;"""
saved_score = engine.execute(score_sql).fetchone()

if not saved_score or (metrics < saved_score[0]):
if not saved_score or (metrics[0] < saved_score[0]):
winner_model = os.path.join(os.path.join(experiment_path,
"temp",
experiment_name))
Expand Down

0 comments on commit eced4d4

Please sign in to comment.