Skip to content
Snippets Groups Projects
Commit 0f1380a7 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

GMQE: enforce range [0.0, 1.0]

parent ef37b0f1
No related branches found
No related tags found
No related merge requests found
......@@ -229,5 +229,7 @@ class GMQE:
if QMEANDisCo is not None:
scores["QMEANDisCo"] = QMEANDisCo
return (self.nn_scorer.GetScore(scores), scores)
gmqe = self.nn_scorer.GetScore(scores)
gmqe = min(1.0, max(0.0, gmqe))
return (gmqe, scores)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment