Spaces:
Running
Running
Update utils/control.py
Browse files- utils/control.py +1 -1
utils/control.py
CHANGED
@@ -21,7 +21,7 @@ def visualize_samples(sample_list,class_name,columns=5):
|
|
21 |
plt.suptitle("Class {0}".format(class_name))
|
22 |
for i, image in enumerate(sample_list):
|
23 |
plt.subplot(len(sample_list) / columns + 1, columns, i + 1)
|
24 |
-
plt.imshow(cv2.imread(image
|
25 |
return f
|
26 |
|
27 |
def select_num_interval(
|
|
|
21 |
plt.suptitle("Class {0}".format(class_name))
|
22 |
for i, image in enumerate(sample_list):
|
23 |
plt.subplot(len(sample_list) / columns + 1, columns, i + 1)
|
24 |
+
plt.imshow(cv2.imread(image))
|
25 |
return f
|
26 |
|
27 |
def select_num_interval(
|