Spaces:
Runtime error
Runtime error
correct giraffe
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ output_labels = ['segmentation map', 'groups']
|
|
35 |
dataset_options = ['Pascal VOC', 'Pascal Context', 'COCO']
|
36 |
examples = [['Pascal VOC', '', 'demo/examples/voc.jpg'],
|
37 |
['Pascal Context', '', 'demo/examples/ctx.jpg'],
|
38 |
-
['COCO', '
|
39 |
|
40 |
PSEUDO_ARGS = namedtuple('PSEUDO_ARGS',
|
41 |
['cfg', 'opts', 'resume', 'vis', 'local_rank'])
|
@@ -137,8 +137,7 @@ title = 'GroupViT'
|
|
137 |
description = """
|
138 |
Gradio Demo for GroupViT: Semantic Segmentation Emerges from Text Supervision. \n
|
139 |
You may click on of the examples or upload your own image. \n
|
140 |
-
GroupViT could perform open vocabulary segmentation, you may input more classes
|
141 |
-
e.g. "rock" is not in the COCO dataset, but you could input it for the giraffe image.
|
142 |
"""
|
143 |
|
144 |
article = """
|
|
|
35 |
dataset_options = ['Pascal VOC', 'Pascal Context', 'COCO']
|
36 |
examples = [['Pascal VOC', '', 'demo/examples/voc.jpg'],
|
37 |
['Pascal Context', '', 'demo/examples/ctx.jpg'],
|
38 |
+
['COCO', '', 'demo/examples/coco.jpg']]
|
39 |
|
40 |
PSEUDO_ARGS = namedtuple('PSEUDO_ARGS',
|
41 |
['cfg', 'opts', 'resume', 'vis', 'local_rank'])
|
|
|
137 |
description = """
|
138 |
Gradio Demo for GroupViT: Semantic Segmentation Emerges from Text Supervision. \n
|
139 |
You may click on of the examples or upload your own image. \n
|
140 |
+
GroupViT could perform open vocabulary segmentation, you may input more classes (seperate by comma).
|
|
|
141 |
"""
|
142 |
|
143 |
article = """
|