We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a7600c commit d0cd2bbCopy full SHA for d0cd2bb
experiments/util/merge_experiments.py
@@ -3,8 +3,9 @@
3
Merges by meta.yaml accounts for input results directories.
4
"""
5
import os
6
-from pathlib import Path
7
import shutil
+from pathlib import Path
8
+
9
import yaml
10
11
@@ -13,7 +14,7 @@ def align_meta_files(mlflow_results_dir: str):
13
14
raise ValueError(f"Specified directory: {mlflow_results_dir} does not exist!")
15
for exp_dir in os.listdir(mlflow_results_dir):
16
change_cnt = 0.
- if exp_dir.startswith("."):
17
+ if exp_dir.startswith(".") or "models" in exp_dir:
18
continue
19
# parse experiment meta file
20
exp_meta_file = mlflow_results_dir + os.sep + exp_dir + os.sep + "meta.yaml"
0 commit comments