taesiri commited on
Commit
b40ab37
1 Parent(s): 339abc5

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +2 -2
visualization.py CHANGED
@@ -110,7 +110,7 @@ def plot_from_reranker_output(reranker_output, draw_box=True, draw_arcs=True):
110
  Image.open(reranker_output["chm-nearest-neighbors"][i]).convert("RGB")
111
  )
112
  )
113
- axes[0][1 + i].set_title(f"CHM - Top - {i+1}", fontsize=21)
114
 
115
  if reranker_output["chm-prediction-confidence"] < 5:
116
  for i in range(reranker_output["chm-prediction-confidence"], 5):
@@ -255,7 +255,7 @@ def plot_from_reranker_output(reranker_output, draw_box=True, draw_arcs=True):
255
  fig.text(
256
  0.5,
257
  0.95,
258
- f"CHM: {reranker_output['chm-prediction']}",
259
  ha="center",
260
  va="bottom",
261
  color="black",
 
110
  Image.open(reranker_output["chm-nearest-neighbors"][i]).convert("RGB")
111
  )
112
  )
113
+ axes[0][1 + i].set_title(f"CHM-Corr - Top - {i+1}", fontsize=21)
114
 
115
  if reranker_output["chm-prediction-confidence"] < 5:
116
  for i in range(reranker_output["chm-prediction-confidence"], 5):
 
255
  fig.text(
256
  0.5,
257
  0.95,
258
+ f"CHM-Corr Prediction: {reranker_output['chm-prediction']}",
259
  ha="center",
260
  va="bottom",
261
  color="black",