Spaces:
Runtime error
Runtime error
Commit
·
e1eba2d
1
Parent(s):
0924f30
info
Browse files
app.py
CHANGED
@@ -208,8 +208,8 @@ def inference(image):
|
|
208 |
im = np.array(image)
|
209 |
output = LOADED_MODEL(tf.cast(im, tf.uint8))
|
210 |
return vis_segmentation(im, output['panoptic_pred'][0], DATASET_INFO)
|
211 |
-
title = "Deeplab2"
|
212 |
-
description = "demo for Deeplab2. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below
|
213 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2106.09748'>DeepLab2: A TensorFlow Library for Deep Labeling</a> | <a href='https://github.com/google-research/deeplab2'>Github Repo</a></p>"
|
214 |
gr.Interface(
|
215 |
inference,
|
|
|
208 |
im = np.array(image)
|
209 |
output = LOADED_MODEL(tf.cast(im, tf.uint8))
|
210 |
return vis_segmentation(im, output['panoptic_pred'][0], DATASET_INFO)
|
211 |
+
title = "Deeplab2 - Max Deeplab L"
|
212 |
+
description = "demo for Deeplab2. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below.\nModel: max_deeplab_l_backbone_os16_axial_deeplab_cityscapes_trainfine_saved_model"
|
213 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2106.09748'>DeepLab2: A TensorFlow Library for Deep Labeling</a> | <a href='https://github.com/google-research/deeplab2'>Github Repo</a></p>"
|
214 |
gr.Interface(
|
215 |
inference,
|