fmajer commited on
Commit
60daf2a
·
1 Parent(s): d8af1a8

changed both alpha in output

Browse files
Files changed (1) hide show
  1. output.py +2 -2
output.py CHANGED
@@ -36,9 +36,9 @@ def visualize_output(image, output, binarize, threshold):
36
  plt.axis('off')
37
  plt.imshow(image)
38
  if binarize:
39
- plt.imshow(output_mask, alpha=.4)
40
  else:
41
- plt.imshow(output_mask, alpha=.4)
42
  fig.tight_layout(pad=0)
43
  fig.canvas.draw()
44
  data = np.frombuffer(fig.canvas.tostring_rgb(), dtype=np.uint8)
 
36
  plt.axis('off')
37
  plt.imshow(image)
38
  if binarize:
39
+ plt.imshow(output_mask, alpha=.45)
40
  else:
41
+ plt.imshow(output_mask, alpha=.45)
42
  fig.tight_layout(pad=0)
43
  fig.canvas.draw()
44
  data = np.frombuffer(fig.canvas.tostring_rgb(), dtype=np.uint8)