From 130eceaca8609cb31688e1d563e022bf43e35897 Mon Sep 17 00:00:00 2001 From: Wonjae Kim Date: Fri, 30 Apr 2021 09:38:23 +0900 Subject: [PATCH] add typical vqa examples --- demo_vqa.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/demo_vqa.py b/demo_vqa.py index 5f8f75a..c9941da 100644 --- a/demo_vqa.py +++ b/demo_vqa.py @@ -95,11 +95,19 @@ def infer(url, text): examples=[ [ "https://s3.geograph.org.uk/geophotos/06/21/24/6212487_1cca7f3f_1024x1024.jpg", - "Is the sky cloudy?", + "What is the color of the flower?", ], [ - "https://s3.geograph.org.uk/geophotos/06/21/24/6212487_1cca7f3f_1024x1024.jpg", - "Color of flower?", + "https://computing.ece.vt.edu/~harsh/visualAttention/ProjectWebpage/Figures/vqa_1.png", + "What is the mustache made of?", + ], + [ + "https://computing.ece.vt.edu/~harsh/visualAttention/ProjectWebpage/Figures/vqa_2.png", + "How many slices of pizza are there?", + ], + [ + "https://computing.ece.vt.edu/~harsh/visualAttention/ProjectWebpage/Figures/vqa_3.png", + "Does it appear to be rainy?", ], ], )