Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -107,7 +107,7 @@ def get_gradcam(model,input_img, opacity):
|
|
107 |
|
108 |
def get_misclassified_images(show_misclassified,num):
|
109 |
if show_misclassified:
|
110 |
-
return cv2.imread(f"missclassified_images_examples/{int(num)}
|
111 |
else:
|
112 |
return None
|
113 |
|
|
|
107 |
|
108 |
def get_misclassified_images(show_misclassified,num):
|
109 |
if show_misclassified:
|
110 |
+
return cv2.imread(f"missclassified_images_examples/{int(num)}.png")
|
111 |
else:
|
112 |
return None
|
113 |
|