sohamnk commited on
Commit
663c3e2
·
verified ·
1 Parent(s): 5b786df

Update pipeline/routes.py

Browse files
Files changed (1) hide show
  1. pipeline/routes.py +1 -0
pipeline/routes.py CHANGED
@@ -92,6 +92,7 @@ def compare_items():
92
  raw_image_score = (FEATURE_WEIGHTS["shape"] * shape_score +
93
  FEATURE_WEIGHTS["color"] * color_score +
94
  FEATURE_WEIGHTS["texture"] * texture_score)
 
95
  image_score = logic.stretch_image_score(raw_image_score)
96
  final_score = 0.4 * image_score + 0.6 * text_score
97
  print(f" - Image Score: {image_score:.4f} | Final Score: {final_score:.4f}")
 
92
  raw_image_score = (FEATURE_WEIGHTS["shape"] * shape_score +
93
  FEATURE_WEIGHTS["color"] * color_score +
94
  FEATURE_WEIGHTS["texture"] * texture_score)
95
+ print(f"Raw Image Score: {raw_image_score:.4f}")
96
  image_score = logic.stretch_image_score(raw_image_score)
97
  final_score = 0.4 * image_score + 0.6 * text_score
98
  print(f" - Image Score: {image_score:.4f} | Final Score: {final_score:.4f}")