File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 8
8
from run_trainer import RunTrainer
9
9
from tabs import general_tab
10
10
from tabs .tab import Tab
11
- from trainer_config_validator import TrainerValidator
12
11
13
12
properties = OrderedDict ()
14
13
@@ -72,12 +71,6 @@ def run_trainer(self, *args):
72
71
config .set (key , properties_values [index ])
73
72
config .set ('path_to_finetrainers' , general_tab .properties ['path_to_finetrainers' ].value )
74
73
75
- config_validator = TrainerValidator (config )
76
- try :
77
- config_validator .validate ()
78
- except Exception as e :
79
- return str (e ), None
80
-
81
74
output_path = os .path .join (properties ['output_dir' ].value , "config" )
82
75
os .makedirs (output_path , exist_ok = True )
83
76
self .save_edits (os .path .join (output_path , "config_{}.yaml" .format (time )), * properties_values )
You can’t perform that action at this time.
0 commit comments