ronnief1 commited on
Commit
a6e8a08
1 Parent(s): df89378

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -221,8 +221,8 @@ def model_infer(img_name):
221
  image, mask = input
222
 
223
  image_vis = image.transpose(1, 2, 0)
224
- gt_mask = mask[0]
225
- #gt_mask = mask[0].astype('uint8')
226
  pr_mask = (output[0].numpy() > threshold).astype('uint8')[0]
227
  i = i + 1
228
  if i >= break_at:
 
221
  image, mask = input
222
 
223
  image_vis = image.transpose(1, 2, 0)
224
+ #gt_mask = mask[0]
225
+ gt_mask = mask[0].astype('uint8')
226
  pr_mask = (output[0].numpy() > threshold).astype('uint8')[0]
227
  i = i + 1
228
  if i >= break_at: