diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-02-16 20:07:54 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-02-16 20:07:54 +0300 |
commit | 596c1c3fac69f678d395dfa7eca7ee9455f7df47 (patch) | |
tree | ef4b349539e6108f1663acb1982bb370a864f127 /tests/training | |
parent | 3a2fdced16b3b9d89a3869b6ff6f5ae4808a110d (diff) |
Update tests
Diffstat (limited to 'tests/training')
-rw-r--r-- | tests/training/restart/test_loading_adam_params.sh | 2 | ||||
-rw-r--r-- | tests/training/restart/test_saving_adam_params_async.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/training/restart/test_loading_adam_params.sh b/tests/training/restart/test_loading_adam_params.sh index 84fc7c6..f298b54 100644 --- a/tests/training/restart/test_loading_adam_params.sh +++ b/tests/training/restart/test_loading_adam_params.sh @@ -32,7 +32,7 @@ test -e adam_load_2.log cat adam_load_2.log | $MRT_TOOLS/strip-timestamps.sh | grep "Ep\. " | sed 's/ : Time.*//' > adam_load_2.out $MRT_TOOLS/diff-floats.py -p 0.99 adam_load_1.out adam_load_1.expected > adam_load_1.diff -$MRT_TOOLS/diff-floats.py -p 0.99 adam_load_2.out adam_load_2.expected > adam_load_2.diff +$MRT_TOOLS/diff-floats.py -p 0.99 -n 1 adam_load_2.out adam_load_2.expected > adam_load_2.diff # Exit with success code exit 0 diff --git a/tests/training/restart/test_saving_adam_params_async.sh b/tests/training/restart/test_saving_adam_params_async.sh index 71b177e..e0f34b0 100644 --- a/tests/training/restart/test_saving_adam_params_async.sh +++ b/tests/training/restart/test_saving_adam_params_async.sh @@ -23,15 +23,15 @@ test -e adam_async/model.npz.optimizer.npz test -e adam_async.log $MRT_TOOLS/extract-costs.sh < adam_async.log > adam_async.costs.out -$MRT_TOOLS/diff-floats.py adam_async.costs.out adam_async.costs.expected -p 3.00 -n 2 > adam_async.costs.diff +$MRT_TOOLS/diff-floats.py adam_async.costs.out adam_async.costs.expected -p 10.00 -n 2 > adam_async.costs.diff python $MRT_MARIAN/scripts/contrib/model_info.py -m adam_async/model.npz.optimizer.npz > adam_async.keys.out diff adam_async.keys.out adam.keys.expected > adam_async.keys.diff python $MRT_MARIAN/scripts/contrib/model_info.py -m adam_async/model.npz.optimizer.npz -k "adam_mt" > adam_async.mt.out -$MRT_TOOLS/diff-floats.py -p 0.0009 adam_async.mt.out adam_async.mt.expected > adam_async.mt.diff +$MRT_TOOLS/diff-floats.py -p 0.0005 adam_async.mt.out adam_async.mt.expected > adam_async.mt.diff python $MRT_MARIAN/scripts/contrib/model_info.py -m adam_async/model.npz.optimizer.npz -k "adam_vt" > adam_async.vt.out -$MRT_TOOLS/diff-floats.py -p 0.0000009 adam_async.vt.out adam_async.vt.expected > adam_async.vt.diff +$MRT_TOOLS/diff-floats.py -p 0.000005 adam_async.vt.out adam_async.vt.expected > adam_async.vt.diff # Exit with success code exit 0 |