broadfield commited on
Commit
db646eb
·
verified ·
1 Parent(s): e81d9b7

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -51,7 +51,7 @@ class make_im():
51
  #img=PIL.Image.frombytes(self.pimg)
52
  #matplotlib.image.imsave(f"{self.root}/images/{name}_mask.png", self.mask, cmap='gray')
53
  #matplotlib.image.imsave(f"{self.root}/images/{name}_epwt.png", self.epwtimg)
54
- #matplotlib.image.imsave(f"{self.root}/images/{name}_prob.png", self.pimg)
55
  buffer = io.BytesIO()
56
  #img.save(buffer, format='PNG')
57
  buffer.write(self.pimg)
 
51
  #img=PIL.Image.frombytes(self.pimg)
52
  #matplotlib.image.imsave(f"{self.root}/images/{name}_mask.png", self.mask, cmap='gray')
53
  #matplotlib.image.imsave(f"{self.root}/images/{name}_epwt.png", self.epwtimg)
54
+ matplotlib.image.imsave(f"{self.root}/images/{name}_prob.png", self.pimg)
55
  buffer = io.BytesIO()
56
  #img.save(buffer, format='PNG')
57
  buffer.write(self.pimg)