Update eval.py
Browse files
eval.py
CHANGED
@@ -14,7 +14,7 @@ def log_results(result: Dataset, args: Dict[str, str]):
|
|
14 |
|
15 |
log_outputs = args.log_outputs
|
16 |
dataset_id = "_".join(args.dataset.split("/") + [args.config, args.split])
|
17 |
-
model_id = "_".join(args.model_id.split("/")
|
18 |
if model_id.startswith("."):
|
19 |
model_id = model_id.replace(".", "", 1)
|
20 |
|
|
|
14 |
|
15 |
log_outputs = args.log_outputs
|
16 |
dataset_id = "_".join(args.dataset.split("/") + [args.config, args.split])
|
17 |
+
model_id = "_".join(args.model_id.split("/"))
|
18 |
if model_id.startswith("."):
|
19 |
model_id = model_id.replace(".", "", 1)
|
20 |
|