Amitz244 commited on
Commit
6c3b041
·
verified ·
1 Parent(s): 6e9f802

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -6
README.md CHANGED
@@ -81,13 +81,9 @@ with torch.no_grad():
81
 
82
  iqa_score = np.mean(scores)
83
 
84
- # maps the predicted score from the model's range [min_pred, max_pred]
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)) * (max_score - min_score) + min_score
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}")