Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Oct 24, 2023
1 parent 515dc09 commit 1b8c1dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scoring/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
'ctc_loss',
'wer',
'l1_loss',
'loss',
]

MAX_EVAL_METRICS = ['average_precision', 'ssim', 'accuracy', 'bleu_score']
Expand Down Expand Up @@ -129,7 +128,7 @@ def get_index_that_reaches_target(workload_df,
op = operator.le if is_minimized else operator.ge
validation_target_reached = validation_series.apply(
lambda x: op(x, validation_target))

print(validation_target_reached)
target_reached = pd.Series(validation_target_reached[0])
# Remove trials that never reach the target
target_reached = target_reached[target_reached.apply(np.any)]
Expand Down

0 comments on commit 1b8c1dc

Please sign in to comment.