Skip to content

Commit 8433322

Browse files
committed
standard error
1 parent bc2c00c commit 8433322

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vlmeval/dataset/image_caption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def compute_scores(self):
3636
print("*************<STANDARD ERROR>****************")
3737
# print(score, scores, scorer, method)
3838
hit_percentages = [100 * h for h in scores]
39-
print(hit_percentages)
39+
# print(hit_percentages)
4040
variance = np.var(hit_percentages)
4141
standard_error = np.sqrt(variance / len(hit_percentages))
4242
print(f"Mean: {np.mean(hit_percentages)}")

vlmeval/dataset/image_vqa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def evaluate(self, eval_file, **judge_kwargs):
8383
print("*********************************************")
8484
print("*************<STANDARD ERROR>****************")
8585
hit_percentages = [100 * h for h in hit]
86-
print(hit_percentages)
86+
# print(hit_percentages)
8787
variance = np.var(hit_percentages)
8888
standard_error = np.sqrt(variance / len(hit_percentages))
8989
print(f"Mean: {np.mean(hit_percentages)}")

0 commit comments

Comments
 (0)