From 25731f204d71efa408a436e7d9ca76646fb7fe13 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Wed, 26 Aug 2020 16:06:46 +0200 Subject: [PATCH] Fix #138: do not package non-existent trie --- DeepSpeech/package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepSpeech/package.sh b/DeepSpeech/package.sh index 6cef1a9b..dc3bb28a 100755 --- a/DeepSpeech/package.sh +++ b/DeepSpeech/package.sh @@ -7,13 +7,13 @@ pushd /mnt if [ ! -f "model_tensorflow_fr.tar.xz" ]; then tar -cf - \ -C /mnt/models/ output_graph.pbmm alphabet.txt \ - -C /mnt/lm/ kenlm.scorer trie | xz -T0 > model_tensorflow_fr.tar.xz + -C /mnt/lm/ kenlm.scorer | xz -T0 > model_tensorflow_fr.tar.xz fi; if [ ! -f "model_tflite_fr.tar.xz" ]; then tar -cf - \ -C /mnt/models/ output_graph.tflite alphabet.txt \ - -C /mnt/lm/ kenlm.scorer trie | xz -T0 > model_tflite_fr.tar.xz + -C /mnt/lm/ kenlm.scorer | xz -T0 > model_tflite_fr.tar.xz fi; if [ ! -f "checkpoint_fr.tar.xz" ]; then