mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
tests: fixed failed tests - stabling CI (#298)
* tests: stabling CI * tests: fix failed tests - stabling CI * fix get csv files. - fixed seed test * fix clres on conftest - now can modify paths during test run. - this fixed the mxnet checkpoint test * tests: fix comments
This commit is contained in:
@@ -91,7 +91,13 @@ def test_restore_checkpoint(preset_args, clres, framework,
|
||||
return p
|
||||
|
||||
if framework == "mxnet":
|
||||
# update preset name - for mxnet framework we are using *_DQN
|
||||
preset_args = Def.Presets.mxnet_args_test[0]
|
||||
# update logs paths
|
||||
test_name = 'ExpName_{}'.format(preset_args)
|
||||
test_path = os.path.join(Def.Path.experiments, test_name)
|
||||
clres.experiment_path = test_path
|
||||
clres.stdout_path = 'test_log_{}.txt'.format(preset_args)
|
||||
|
||||
p_valid_params = p_utils.validation_params(preset_args)
|
||||
create_cp_proc = _create_cmd_and_run(flag=['--checkpoint_save_secs', '5'])
|
||||
|
||||
Reference in New Issue
Block a user