Skip to content

Commit c6e49d7

Browse files
authored
Merge pull request #1527 from hanhainebula/master
fix abc/evaluation/runner.py: evaluate_metrics
2 parents 7780cf3 + 17d8e8a commit c6e49d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FlagEmbedding/abc/evaluation/runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def evaluate_metrics(
166166
if os.path.exists(eval_results_path):
167167
eval_results = json.load(open(eval_results_path, encoding='utf-8'))
168168
else:
169-
raise FileNotFoundError(f"Eval results not found: {eval_results_path}")
169+
logger.warning(f"Eval results not found: {eval_results_path}")
170+
continue
170171

171172
if model_name not in eval_results_dict:
172173
eval_results_dict[model_name] = {}

0 commit comments

Comments
 (0)