Modify eval_mm for MiniCPM-V 2.6

This commit is contained in:
Haoyu Li
2024-08-30 18:18:22 +00:00
parent ab1141ee45
commit 59224808a1
69 changed files with 8231 additions and 1818 deletions

View File

@@ -145,7 +145,7 @@ def track_progress_rich(func: Callable,
results = []
for task in tasks:
result, idx = worker(task)
results.append(worker(task)[0])
results.append(result)
if save is not None:
with portalocker.Lock(save, timeout=5) as fh:
ans = load(save)