Skip to content

Commit

Permalink
updated moc to match results in ietf118 presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Buethe committed Nov 6, 2023
1 parent 544b3e5 commit 2386a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnn/torch/osce/utils/moc.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def compare(x, y, apply_vad=False):

# distortion metric
re = masked_psd_y / masked_psd_x
im = re - np.log(re) - 1
im = np.log(re) ** 2
Eb = ((im @ fb.T) / np.sum(fb, axis=1))
Ef = np.mean(Eb , axis=1)

Expand Down

0 comments on commit 2386a60

Please sign in to comment.