Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2018-11-12 18:52:46 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2018-11-12 18:52:46 +0300
commitcf2d46ea1ff3481c7a5007a88eda9576719b8c70 (patch)
treeec7a8640bc613899c5b5ecdcbf4419128aa3f41e /tests/training/data-weighting/test_word_weighting_with_twos.sh
parentf9c210b163d470d191e7383962488c81230a8818 (diff)
Rename diff-floats.py
Diffstat (limited to 'tests/training/data-weighting/test_word_weighting_with_twos.sh')
-rw-r--r--tests/training/data-weighting/test_word_weighting_with_twos.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/training/data-weighting/test_word_weighting_with_twos.sh b/tests/training/data-weighting/test_word_weighting_with_twos.sh
index 4706cae..e9f2d94 100644
--- a/tests/training/data-weighting/test_word_weighting_with_twos.sh
+++ b/tests/training/data-weighting/test_word_weighting_with_twos.sh
@@ -19,7 +19,7 @@ test -e word_twos/model.npz
test -e word_twos.log
cat word_twos.log | $MRT_TOOLS/strip-timestamps.sh | grep "Ep\. " | sed -r 's/ Time.*//' > word_twos.out
-$MRT_TOOLS/diff-floats.py word_twos.out word_twos.expected -p 0.1 > word_twos.diff
+$MRT_TOOLS/diff-nums.py word_twos.out word_twos.expected -p 0.1 > word_twos.diff
rm -rf word_twos_cfg word_twos_cfg.{log,out,diff}
mkdir -p word_twos_cfg
@@ -34,7 +34,7 @@ $MRT_MARIAN/build/marian \
-c word_twos.config.yml
cat word_twos_cfg.log | $MRT_TOOLS/strip-timestamps.sh | grep "Ep\. " | sed -r 's/ Time.*//' > word_twos_cfg.out
-$MRT_TOOLS/diff-floats.py word_twos_cfg.out word_twos.expected -p 0.1 > word_twos_cfg.diff
+$MRT_TOOLS/diff-nums.py word_twos_cfg.out word_twos.expected -p 0.1 > word_twos_cfg.diff
# Exit with success code
exit 0