kongkip commited on
Commit
ad96308
1 Parent(s): 4240815

minor fixes

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -18,7 +18,6 @@ def predict(image):
18
  im = tf.image.resize(img, (128, 128))
19
  im = tf.cast(im, tf.float32) / 255.0
20
  pred_mask = model.predict(im[tf.newaxis, ...])
21
- pred_mask = tf.image.resize(pred_mask, shape)
22
 
23
 
24
  # take the best performing class for each pixel
 
18
  im = tf.image.resize(img, (128, 128))
19
  im = tf.cast(im, tf.float32) / 255.0
20
  pred_mask = model.predict(im[tf.newaxis, ...])
 
21
 
22
 
23
  # take the best performing class for each pixel