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 <rgrundkiewicz@gmail.com>2020-11-16 16:12:09 +0300
committerRoman Grundkiewicz <rgrundkiewicz@gmail.com>2020-11-16 16:12:09 +0300
commit54c7d064ab22fcf29558ed5bb27cec47dfa8a717 (patch)
treeef5c2ecd966bdc4a9751a77fe62cf11878bba952
parent189969816c8a3f7d23e9b418c35443e16859dc8e (diff)
Decrease precision
-rw-r--r--tests/training/features/quantized-model/test_quantmodel_with_optimization.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh b/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
index fe7993e..510c339 100644
--- a/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
+++ b/tests/training/features/quantized-model/test_quantmodel_with_optimization.sh
@@ -27,7 +27,7 @@ test -e $PREFIX.log
# Compare the current output with the expected output
cat $PREFIX.log | $MRT_TOOLS/extract-costs.sh > $PREFIX.out
-$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff
+$MRT_TOOLS/diff-nums.py $PREFIX.out $PREFIX.expected -o $PREFIX.diff -p 0.01
# make sure that the resulting model has no more than 256 different values (i.e. quantized)
$MRT_TOOLS/check-model-unique-vals.py train/model.npz -b 8