Spaces:
Running
Running
Update generic.py
Browse files- generic.py +1 -1
generic.py
CHANGED
@@ -96,7 +96,7 @@ vqa_answers = utils.get_data(VQA_URL)
|
|
96 |
|
97 |
|
98 |
|
99 |
-
def save_image_vis(image_file_path
|
100 |
R_t_t, R_t_i = lrp.generate_ours((image_file_path, quewtion), use_lrp=False,
|
101 |
normalize_self_attention=True,
|
102 |
method_name="ours")
|
|
|
96 |
|
97 |
|
98 |
|
99 |
+
def save_image_vis(image_file_path, question):
|
100 |
R_t_t, R_t_i = lrp.generate_ours((image_file_path, quewtion), use_lrp=False,
|
101 |
normalize_self_attention=True,
|
102 |
method_name="ours")
|