Spaces:
Sleeping
Sleeping
debug: runtime error
Browse files
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 |
-
|
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
|