add more example
Browse files- app.py +6 -1
- example/bus.jpg +0 -0
- example/cat_dog.JPG +0 -0
- example/jellyfish.jpg +0 -0
- example/penguin.JPG +0 -0
app.py
CHANGED
|
@@ -22,12 +22,17 @@ demo = gr.Interface(
|
|
| 22 |
gr.inputs.Image(label="GradCAM"),
|
| 23 |
],
|
| 24 |
title="Global Context Vision Transformer (GCViT) Demo",
|
| 25 |
-
description="ImageNet Pretrain.",
|
| 26 |
examples=[
|
| 27 |
["example/hot_air_ballon.jpg", 'GCViTTiny'],
|
| 28 |
["example/chelsea.png", 'GCViTTiny'],
|
| 29 |
["example/german_shepherd.jpg", 'GCViTTiny'],
|
| 30 |
["example/panda.jpg", 'GCViTTiny'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
],
|
| 32 |
)
|
| 33 |
demo.launch()
|
|
|
|
| 22 |
gr.inputs.Image(label="GradCAM"),
|
| 23 |
],
|
| 24 |
title="Global Context Vision Transformer (GCViT) Demo",
|
| 25 |
+
description="Image Classification with ImageNet Pretrain Weights.",
|
| 26 |
examples=[
|
| 27 |
["example/hot_air_ballon.jpg", 'GCViTTiny'],
|
| 28 |
["example/chelsea.png", 'GCViTTiny'],
|
| 29 |
["example/german_shepherd.jpg", 'GCViTTiny'],
|
| 30 |
["example/panda.jpg", 'GCViTTiny'],
|
| 31 |
+
["example/jellyfish.jpg", 'GCViTTiny'],
|
| 32 |
+
["example/penguin.JPG", 'GCViTTiny'],
|
| 33 |
+
["example/bus.jpg", 'GCViTTiny'],
|
| 34 |
+
["example/cat_dog.JPG", 'GCViTTiny'],
|
| 35 |
+
|
| 36 |
],
|
| 37 |
)
|
| 38 |
demo.launch()
|
example/bus.jpg
ADDED
|
example/cat_dog.JPG
ADDED
|
|
example/jellyfish.jpg
ADDED
|
example/penguin.JPG
ADDED
|
|