diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-11-12 18:52:46 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2018-11-12 18:52:46 +0300 |
commit | cf2d46ea1ff3481c7a5007a88eda9576719b8c70 (patch) | |
tree | ec7a8640bc613899c5b5ecdcbf4419128aa3f41e /tests/training/basics | |
parent | f9c210b163d470d191e7383962488c81230a8818 (diff) |
Rename diff-floats.py
Diffstat (limited to 'tests/training/basics')
-rw-r--r-- | tests/training/basics/test_gzipped_train_sets.sh | 2 | ||||
-rw-r--r-- | tests/training/basics/test_sqlite.sh | 2 | ||||
-rw-r--r-- | tests/training/basics/test_sqlite_random_seed.sh | 2 | ||||
-rw-r--r-- | tests/training/basics/test_toy_vocab.sh | 2 | ||||
-rw-r--r-- | tests/training/basics/test_translation_script.sh | 2 | ||||
-rw-r--r-- | tests/training/basics/test_valid_script.sh | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/training/basics/test_gzipped_train_sets.sh b/tests/training/basics/test_gzipped_train_sets.sh index 5f1d596..a3bef63 100644 --- a/tests/training/basics/test_gzipped_train_sets.sh +++ b/tests/training/basics/test_gzipped_train_sets.sh @@ -19,7 +19,7 @@ test -e gzip/model.npz test -e gzip.log cat gzip.log | $MRT_TOOLS/extract-costs.sh > gzip.out -$MRT_TOOLS/diff-floats.py gzip.out gzip.expected -p 0.1 > gzip.diff +$MRT_TOOLS/diff-nums.py gzip.out gzip.expected -p 0.1 > gzip.diff # Exit with success code exit 0 diff --git a/tests/training/basics/test_sqlite.sh b/tests/training/basics/test_sqlite.sh index 68821f7..1dceb08 100644 --- a/tests/training/basics/test_sqlite.sh +++ b/tests/training/basics/test_sqlite.sh @@ -32,7 +32,7 @@ test -e sqlite.log $MRT_TOOLS/extract-costs.sh < sqlite.log > sqlite.out -$MRT_TOOLS/diff-floats.py nosqlite.out sqlite.out -p 0.2 > sqlite.diff +$MRT_TOOLS/diff-nums.py nosqlite.out sqlite.out -p 0.2 > sqlite.diff # Exit with success code exit 0 diff --git a/tests/training/basics/test_sqlite_random_seed.sh b/tests/training/basics/test_sqlite_random_seed.sh index 3da1769..fe12772 100644 --- a/tests/training/basics/test_sqlite_random_seed.sh +++ b/tests/training/basics/test_sqlite_random_seed.sh @@ -31,7 +31,7 @@ test -e sqlite_seed_2.log $MRT_TOOLS/extract-costs.sh < sqlite_seed_1.log > sqlite_seed_1.out $MRT_TOOLS/extract-costs.sh < sqlite_seed_2.log > sqlite_seed_2.out -$MRT_TOOLS/diff-floats.py sqlite_seed_1.out sqlite_seed_2.out -p 0.1 > sqlite_seed.diff +$MRT_TOOLS/diff-nums.py sqlite_seed_1.out sqlite_seed_2.out -p 0.1 > sqlite_seed.diff # Exit with success code exit 0 diff --git a/tests/training/basics/test_toy_vocab.sh b/tests/training/basics/test_toy_vocab.sh index 6048e1b..3fef63b 100644 --- a/tests/training/basics/test_toy_vocab.sh +++ b/tests/training/basics/test_toy_vocab.sh @@ -19,7 +19,7 @@ test -e toy/model.npz.yml test -e toy/model.npz.amun.yml cat toy.log | $MRT_TOOLS/extract-costs.sh > toy.out -$MRT_TOOLS/diff-floats.py toy.out toy.expected -p 0.99 -n 5 > toy.diff +$MRT_TOOLS/diff-nums.py toy.out toy.expected -p 0.99 -n 5 > toy.diff # Exit with success code exit 0 diff --git a/tests/training/basics/test_translation_script.sh b/tests/training/basics/test_translation_script.sh index 84a7cd0..0fa915c 100644 --- a/tests/training/basics/test_translation_script.sh +++ b/tests/training/basics/test_translation_script.sh @@ -28,7 +28,7 @@ test -e trans.log grep -q "/tmp/marian.*" trans_script.temp $MRT_TOOLS/strip-timestamps.sh < trans.log | grep -v "Total translation time" | head -n 4 > trans.out -$MRT_TOOLS/diff-floats.py trans.out trans.expected -p 0.2 > trans.diff +$MRT_TOOLS/diff-nums.py trans.out trans.expected -p 0.2 > trans.diff # Exit with success code exit 0 diff --git a/tests/training/basics/test_valid_script.sh b/tests/training/basics/test_valid_script.sh index 7bf3cc8..5c79755 100644 --- a/tests/training/basics/test_valid_script.sh +++ b/tests/training/basics/test_valid_script.sh @@ -28,7 +28,7 @@ test -e valid/model.npz.dev.npz.amun.yml test -e valid.log $MRT_TOOLS/strip-timestamps.sh < valid.log > valid.out -$MRT_TOOLS/diff-floats.py valid.out valid.expected -p 0.2 > valid.diff +$MRT_TOOLS/diff-nums.py valid.out valid.expected -p 0.2 > valid.diff # Exit with success code exit 0 |