shithub: opus

Download patch

ref: 2386a60ec644fadc437155cd6e5f6d4c561940d4
parent: 544b3e576c8edd1785914c988882b62d60652f26
author: Jan Buethe <jbuethe@amazon.de>
date: Mon Nov 6 12:50:48 EST 2023

updated moc to match results in ietf118 presentation

--- a/dnn/torch/osce/utils/moc.py
+++ b/dnn/torch/osce/utils/moc.py
@@ -114,7 +114,7 @@
 
     # 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)
 
--