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:
Diffstat (limited to 'tests/decoder/factors/test_factors.sh')
-rw-r--r--tests/decoder/factors/test_factors.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/decoder/factors/test_factors.sh b/tests/decoder/factors/test_factors.sh
deleted file mode 100644
index ccda2c6..0000000
--- a/tests/decoder/factors/test_factors.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#/bin/bash -x
-
-#####################################################################
-# SUMMARY: Tests decoding with factors
-# AUTHOR: pedrodiascoelho
-# TAGS: factors
-#####################################################################
-
-# Exit on error
-set -e
-
-# Remove old artifacts
-rm -f factors.{out,diff,log}
-
-# Run marian decoder
-$MRT_MARIAN/marian-decoder -c $MRT_MODELS/factors/model.npz.decoder.yml --log factors.log < text.in > factors.out
-
-#checks factors usage
-grep -q "Factored embeddings enabled" factors.log
-grep -q "Factored outputs enabled" factors.log
-
-# Compare the output with the expected output
-$MRT_TOOLS/diff.sh factors.out factors.expected > factors.diff
-
-# Exit with success code
-exit 0