Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
haotian-liu authored Jul 4, 2023
1 parent 928aca3 commit b870d42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -516,13 +516,13 @@ python model_vqa.py \
2. Evaluate the generated responses. In our case, [`answer-file-1.jsonl`](./playground/data/coco2014_val_qa_eval/qa90_gpt4_answer.jsonl) is the response generated by text-only GPT-4 (0314), with the context captions/boxes provided.

```Shell
OPENAI_API_KEY="sk-***********************************" python eval_gpt_review_visual.py \
OPENAI_API_KEY="sk-***********************************" python llava/eval/eval_gpt_review_visual.py \
--question playground/data/coco2014_val_qa_eval/qa90_questions.jsonl \
--context table/caps_boxes_coco2014_val_80.jsonl \
--context llava/eval/table/caps_boxes_coco2014_val_80.jsonl \
--answer-list \
/path/to/answer-file-1.jsonl \
playground/data/coco2014_val_qa_eval/qa90_gpt4_answer.jsonl \
/path/to/answer-file-2.jsonl \
--rule table/rule.json \
--rule llava/eval/table/rule.json \
--output /path/to/review.json
```

0 comments on commit b870d42

Please sign in to comment.