Skip to content

Commit

Permalink
add smooething
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Oct 1, 2024
1 parent 1e67f11 commit c3ce590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modelevaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def evaluate_dir(
# top_score = len(output)
# smoothed = output
# else:
# smoothed = output * output * masses
smoothed = output * output * masses
prediction.classified_clip(output, output, data[2], top_score=top_score)
y_true.append(label_mapping.get(label, label))
predicted_labels = [prediction.predicted_tag()]
Expand Down

0 comments on commit c3ce590

Please sign in to comment.