BhumikaMak commited on
Commit
48578d6
·
verified ·
1 Parent(s): 6064049

debug: runtime error

Browse files
Files changed (1) hide show
  1. yolov8.py +1 -1
yolov8.py CHANGED
@@ -202,7 +202,7 @@ def dff_nmf(image, target_lyr, n_components):
202
 
203
  #predicted_label = labels[top_class_id] # Map ID to label
204
  #ax.text(x1, y1, f"{predicted_label}: {top_score:.2f}",
205
- color='r', fontsize=12, verticalalignment='top')
206
  plt.subplots_adjust(left=0, right=1, top=1, bottom=0)
207
 
208
  fig.canvas.draw() # Draw the canvas to make sure the image is rendered
 
202
 
203
  #predicted_label = labels[top_class_id] # Map ID to label
204
  #ax.text(x1, y1, f"{predicted_label}: {top_score:.2f}",
205
+ # color='r', fontsize=12, verticalalignment='top')
206
  plt.subplots_adjust(left=0, right=1, top=1, bottom=0)
207
 
208
  fig.canvas.draw() # Draw the canvas to make sure the image is rendered