Commit
·
c5ab150
1
Parent(s):
500a91d
Update app.py
Browse files
app.py
CHANGED
@@ -70,8 +70,7 @@ def gen_pred(img, model=seg_model):
|
|
70 |
img = tf.expand_dims(img, axis=0)
|
71 |
pred = model.predict(img)
|
72 |
pred = np.squeeze(pred, axis=0)
|
73 |
-
|
74 |
-
fig = plt.figure()
|
75 |
fig.add_subplot(rows, columns, 1)
|
76 |
# plt.imshow(pred, interpolation='catrom')
|
77 |
plt.imshow(pred)
|
|
|
70 |
img = tf.expand_dims(img, axis=0)
|
71 |
pred = model.predict(img)
|
72 |
pred = np.squeeze(pred, axis=0)
|
73 |
+
fig = plt.figure(figsize=(4, 4))
|
|
|
74 |
fig.add_subplot(rows, columns, 1)
|
75 |
# plt.imshow(pred, interpolation='catrom')
|
76 |
plt.imshow(pred)
|