jenhung commited on
Commit
3434f6b
·
verified ·
1 Parent(s): 1b8fcc3

Update web_app.py

Browse files
Files changed (1) hide show
  1. web_app.py +2 -1
web_app.py CHANGED
@@ -162,6 +162,7 @@ def predict_image(name, model, img, conf_threshold, iou_threshold):
162
  total_layer_cno.append(single_layer_cno)
163
  total_layer_density.append(single_layer_density)
164
 
 
165
  # Plot CNO Distribution
166
  plt.contourf(x, y, z, levels=levels, cmap=plt.cm.bone)
167
  plt.axis('off')
@@ -173,7 +174,7 @@ def predict_image(name, model, img, conf_threshold, iou_threshold):
173
  kde_image.append([plt.figure(), file_label])
174
  #plt.savefig(os.path.join(kde_dir, '{}_{}_{}_KDE.png'.format(file_list[idx], model_type, conf)),
175
  # bbox_inches='tight', pad_inches=0)
176
-
177
 
178
 
179
 
 
162
  total_layer_cno.append(single_layer_cno)
163
  total_layer_density.append(single_layer_density)
164
 
165
+ """
166
  # Plot CNO Distribution
167
  plt.contourf(x, y, z, levels=levels, cmap=plt.cm.bone)
168
  plt.axis('off')
 
174
  kde_image.append([plt.figure(), file_label])
175
  #plt.savefig(os.path.join(kde_dir, '{}_{}_{}_KDE.png'.format(file_list[idx], model_type, conf)),
176
  # bbox_inches='tight', pad_inches=0)
177
+ """
178
 
179
 
180