hyo37009 commited on
Commit
837aa2c
·
1 Parent(s): 2166917
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def greet(input_img):
49
  logits_tf = tf.transpose(logits.detach(), [0, 2, 3, 1])
50
 
51
  logits_tf = tf.image.resize(
52
- logits_tf, input_img.size
53
  )
54
  seg = tf.math.argmax(logits_tf, axis=-1)[0]
55
 
 
49
  logits_tf = tf.transpose(logits.detach(), [0, 2, 3, 1])
50
 
51
  logits_tf = tf.image.resize(
52
+ logits_tf, [640, 1280]
53
  )
54
  seg = tf.math.argmax(logits_tf, axis=-1)[0]
55