From 2386a60ec644fadc437155cd6e5f6d4c561940d4 Mon Sep 17 00:00:00 2001 From: Jan Buethe Date: Mon, 6 Nov 2023 17:50:48 +0100 Subject: [PATCH] updated moc to match results in ietf118 presentation --- dnn/torch/osce/utils/moc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnn/torch/osce/utils/moc.py b/dnn/torch/osce/utils/moc.py index a29f9338c..3dffcfd08 100644 --- a/dnn/torch/osce/utils/moc.py +++ b/dnn/torch/osce/utils/moc.py @@ -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)