Skip to content

Commit

Permalink
update eval
Browse files Browse the repository at this point in the history
  • Loading branch information
rayguan97 committed Nov 6, 2023
1 parent ca497b9 commit 88c160d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_eval_pair_easy(data):
counter = 0

for r in data:
if str(r["figure_id"]) != "0":
if str(r["visual_input"]) == "2":
continue
name = "_".join([r["category"], r["subcategory"], str(r["set_id"]), str(r["question_id"])])
if name in get_eval_pair_dict:
Expand Down Expand Up @@ -308,7 +308,7 @@ def get_eval_pair_hard(data):
counter = 0

for r in data:
if str(r["figure_id"]) == "0":
if str(r["visual_input"]) != "2":
continue
name = "_".join([r["category"], r["subcategory"], str(r["set_id"]), str(r["question_id"])])
if name in get_eval_pair_dict:
Expand Down

0 comments on commit 88c160d

Please sign in to comment.