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

Update evaluate_vqa.py

parent a7b39145
......@@ -499,5 +499,5 @@ if __name__ == '__main__':
prompt = '<img>{}</img> {} When the provided information is insufficient, respond with "unanswerable". Answer: ' #vizwiz 68.3 # this prompt will achieve better results.
else:
# prompt = '<img>{}</img>{} Answer:'
prompt = '<img>{}</img>{} Answer: ' # this prompt will achieve better results.
prompt = '<img>{}</img> {} Answer: ' # this prompt will achieve better results.
evaluate(model,tokenizer,prompt,args,k)
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