Update README.md
Browse files
README.md
CHANGED
@@ -81,13 +81,9 @@ with torch.no_grad():
|
|
81 |
|
82 |
iqa_score = np.mean(scores)
|
83 |
|
84 |
-
# maps the predicted score
|
85 |
-
# to the actual range [min_score, max_score] using min-max scaling.
|
86 |
-
|
87 |
min_pred = -6.52
|
88 |
max_pred = 3.11
|
89 |
-
max_score = 4.32
|
90 |
-
min_score = 1
|
91 |
|
92 |
-
normalized_score = ((iqa_score - min_pred) / (max_pred - min_pred))
|
93 |
print(f"Predicted quality Score: {normalized_score:.4f}")
|
|
|
81 |
|
82 |
iqa_score = np.mean(scores)
|
83 |
|
84 |
+
# maps the predicted score to [0,1] range
|
|
|
|
|
85 |
min_pred = -6.52
|
86 |
max_pred = 3.11
|
|
|
|
|
87 |
|
88 |
+
normalized_score = ((iqa_score - min_pred) / (max_pred - min_pred))
|
89 |
print(f"Predicted quality Score: {normalized_score:.4f}")
|