diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-10-16 15:52:16 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-10-16 15:52:16 +0300 |
commit | f0fd7d7e2eb8a0107539bcb6217e2e4bc134a7f7 (patch) | |
tree | bec81ba5a174b59c597e38ba3c87967e5590220a /tests/training/multi-source | |
parent | 4f09e3454139259e2031f2c388e4068a5c3f93fe (diff) |
Update tests
Diffstat (limited to 'tests/training/multi-source')
4 files changed, 12 insertions, 12 deletions
diff --git a/tests/training/multi-source/multi-s2s.expected b/tests/training/multi-source/multi-s2s.expected index eb1be9e..abad07e 100644 --- a/tests/training/multi-source/multi-s2s.expected +++ b/tests/training/multi-source/multi-s2s.expected @@ -1,5 +1,5 @@ -389.95 -286.22 -205.11 -142.52 -80.09 +389.91 +286.00 +204.95 +142.47 +80.15 diff --git a/tests/training/multi-source/multi-transformer.expected b/tests/training/multi-source/multi-transformer.expected index 0db6a2e..d6a7c6b 100644 --- a/tests/training/multi-source/multi-transformer.expected +++ b/tests/training/multi-source/multi-transformer.expected @@ -1,5 +1,5 @@ -382.69 -275.89 -204.84 -145.35 -82.06 +383.53 +276.46 +205.33 +145.79 +82.39 diff --git a/tests/training/multi-source/test_multi-s2s.sh b/tests/training/multi-source/test_multi-s2s.sh index fdaaadc..4cbbbc4 100644 --- a/tests/training/multi-source/test_multi-s2s.sh +++ b/tests/training/multi-source/test_multi-s2s.sh @@ -19,7 +19,7 @@ test -e multi-s2s/model.npz.yml test -e multi-s2s.log cat multi-s2s.log | grep 'Ep\. 1 :' | $MRT_TOOLS/extract-costs.sh > multi-s2s.out -$MRT_TOOLS/diff-floats.py multi-s2s.out multi-s2s.expected -p 0.5 > multi-s2s.diff +$MRT_TOOLS/diff-floats.py multi-s2s.out multi-s2s.expected -p 0.2 > multi-s2s.diff # Exit with success code exit 0 diff --git a/tests/training/multi-source/test_multi-transformer.sh b/tests/training/multi-source/test_multi-transformer.sh index 7ef9c43..833a324 100644 --- a/tests/training/multi-source/test_multi-transformer.sh +++ b/tests/training/multi-source/test_multi-transformer.sh @@ -19,7 +19,7 @@ test -e multi-transformer/model.npz.yml test -e multi-transformer.log cat multi-transformer.log | grep 'Ep\. 1 :' | $MRT_TOOLS/extract-costs.sh > multi-transformer.out -$MRT_TOOLS/diff-floats.py multi-transformer.out multi-transformer.expected -p 0.5 > multi-transformer.diff +$MRT_TOOLS/diff-floats.py multi-transformer.out multi-transformer.expected -p 0.2 > multi-transformer.diff # Exit with success code exit 0 |