1
0
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:
anabwan
2019-04-23 15:12:11 +03:00
committed by GitHub
parent 9f625c197b
commit b3db9ce77d
4 changed files with 45 additions and 19 deletions

View File

@@ -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'])