File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
1
from epsilon_runner import *
2
2
3
+ """
4
+
5
+ ----------------------------
6
+ If you wish to 'play' with the demo/runner, please change the following values in the 'epsilon_runner.py' source file.
7
+ For changes in the hyper parameters consider changing: TRAIN_COMMON_PARAMS, INFER_COMMON_PARAMS, EVAL_COMMON_PARAMS.
8
+
9
+ For further modifications please check "fuse-med-ml" documentation and source code at: https://github.com/BiomedSciAI/fuse-med-ml,
10
+ or contact us.
11
+
12
+ ----------------------------
13
+
14
+
3
15
4
16
experiment = "full" # Choose from supported experiments
5
17
10
22
"overlap",
11
23
]
12
24
13
- assert experiment in supported_experiments , f"runner doesn't support experiment ({ experiment } )."
14
-
25
+ # Set you paths
15
26
16
- ROOT = "./_demo"
27
+ ROOT = "./_examples/epsilon"
17
28
model_dir = os.path.join(ROOT, f"model_dir_{experiment}")
18
29
PATHS = {
19
30
"model_dir": model_dir,
24
35
"data_split_filename": os.path.join(ROOT, "eps_split.pkl"),
25
36
}
26
37
38
+ """
39
+
27
40
28
41
if __name__ == "__main__" :
29
42
Original file line number Diff line number Diff line change 94
94
95
95
96
96
model_dir = os .path .join (ROOT , f"model_dir_{ experiment } " )
97
- cache_suffix = "_MLP"
97
+
98
98
PATHS = {
99
99
"model_dir" : model_dir ,
100
- "cache_dir_train" : os .path .join (ROOT , f"cache_dir_train{ cache_suffix } " ),
101
- "cache_dir_eval" : os .path .join (ROOT , f"cache_dir_eval{ cache_suffix } " ),
100
+ "cache_dir_train" : os .path .join (ROOT , f"cache_dir_train" ),
101
+ "cache_dir_eval" : os .path .join (ROOT , f"cache_dir_eval" ),
102
102
"inference_dir" : os .path .join (model_dir , "infer" ),
103
103
"eval_dir" : os .path .join (model_dir , "eval" ),
104
104
"data_split_filename" : os .path .join (ROOT , "eps_split.pkl" ),
You can’t perform that action at this time.
0 commit comments