BhumikaMak commited on
Commit
c0f1ad1
·
verified ·
1 Parent(s): d881fe1

Update yolov5.py

Browse files
Files changed (1) hide show
  1. yolov5.py +1 -1
yolov5.py CHANGED
@@ -232,7 +232,7 @@ def dff_nmf(image, target_lyr, n_components):
232
 
233
  fig.canvas.draw() # Draw the canvas to make sure the image is rendered
234
  image_array = np.array(fig.canvas.renderer.buffer_rgba()) # Convert to numpy array
235
- results.append(image_array[(image_array.shape[0]//2) :, :])
236
  plt.clf()
237
  #return image_array
238
 
 
232
 
233
  fig.canvas.draw() # Draw the canvas to make sure the image is rendered
234
  image_array = np.array(fig.canvas.renderer.buffer_rgba()) # Convert to numpy array
235
+ results.append(image_array)
236
  plt.clf()
237
  #return image_array
238