diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-07-30 23:52:14 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-07-30 23:52:14 +0300 |
commit | 484132534b9ae9b91cdc765cd78636100912f689 (patch) | |
tree | b93c810082c462c8cce7319d770fefd8a7f855fc /tests/decoder/align | |
parent | 4c147b8eddd4bd32a66c67131b3a8f5a6ec3fa49 (diff) |
Use diff-floats instead diff
Diffstat (limited to 'tests/decoder/align')
-rw-r--r-- | tests/decoder/align/test_align_nbest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/decoder/align/test_align_nbest.sh b/tests/decoder/align/test_align_nbest.sh index ae228f4..bcb0705 100644 --- a/tests/decoder/align/test_align_nbest.sh +++ b/tests/decoder/align/test_align_nbest.sh @@ -5,7 +5,7 @@ set -e # Test code goes here $MRT_MARIAN/build/marian-decoder -c $MRT_MODELS/wmt16_systems/marian.en-de.yml --mini-batch 16 -b 3 --n-best --alignment < text.in > align_nbest.out -diff align_nbest.out align_nbest.expected > align_nbest.diff +$MRT_TOOLS/diff-floats.py -p 0.0001 align_nbest.out align_nbest.expected > align_nbest.diff # Exit with success code exit 0 |