Unverified Commit dd03d27f authored by echo840's avatar echo840 Committed by GitHub
Browse files

Update evaluate_vqa.py

parent 3280666d
...@@ -496,7 +496,7 @@ if __name__ == '__main__': ...@@ -496,7 +496,7 @@ if __name__ == '__main__':
for k,_ in ds_collections.items(): for k,_ in ds_collections.items():
if "vizwiz_val" in k: if "vizwiz_val" in k:
# prompt = '<img>{}</img> {} When the provided information is insufficient, respond with "Unanswerable". Answer:' #vizwiz 61.2 # prompt = '<img>{}</img> {} When the provided information is insufficient, respond with "Unanswerable". Answer:' #vizwiz 61.2
prompt = '<img>{}</img> {} When the provided information is insufficient, respond with "unanswerable". Answer: ' #vizwiz 68.3 # this prompt will achieve better results. prompt = '<img>{}</img> {} When the provided information is insufficient, respond with "unanswerable". Answer: ' #vizwiz 68.37 # this prompt will achieve better results.
else: else:
# prompt = '<img>{}</img>{} Answer:' # prompt = '<img>{}</img>{} Answer:'
prompt = '<img>{}</img> {} Answer: ' # this prompt will achieve better results. prompt = '<img>{}</img> {} Answer: ' # this prompt will achieve better results.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment