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,
|
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 |
|