Skip to content

Commit

Permalink
Merge pull request #141 from lissyx/remove-trie
Browse files Browse the repository at this point in the history
Fix #138: do not package non-existent trie
  • Loading branch information
lissyx authored Aug 26, 2020
2 parents 35b7828 + 25731f2 commit 99d2b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeepSpeech/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99d2b70

Please sign in to comment.