Skip to content

Commit

Permalink
Fix #138: do not package non-existent trie
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre committed Aug 26, 2020
1 parent 35b7828 commit 25731f2
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 25731f2

Please sign in to comment.