hodorfi commited on
Commit
2629e49
·
1 Parent(s): af62f40

Update utils/control.py

Browse files
Files changed (1) hide show
  1. 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.replace("F:/","E:/")))
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(