Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
removed lingualibre and fixed issues arised in #17 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mone27 authored and Mte90 committed Oct 10, 2019
1 parent 6e86654 commit 2332e03
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 31 deletions.
4 changes: 2 additions & 2 deletions DeepSpeech/Dockerfile.train
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM nvidia/cuda:10.0-cudnn7-runtime-ubuntu18.04

ARG ds_repo=mozilla/DeepSpeech
ARG ds_branch=ba56407376f1e1109be33ac87bcb6eb9709b18be
ARG ds_sha1=ba56407376f1e1109be33ac87bcb6eb9709b18be
ARG ds_branch=9ac8cebb3b5257fc502622c34e36ae3de55dceee
ARG ds_sha1=9ac8cebb3b5257fc502622c34e36ae3de55dceee
ARG kenlm_repo=kpu/kenlm
ARG kenlm_branch=2ad7cb56924cd3c6811c604973f592cb5ef604eb

Expand Down
6 changes: 3 additions & 3 deletions DeepSpeech/generate_alphabet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ pushd $HOME/ds/
all_test_csv="$(find /mnt/extracted/data/ -type f -name '*test.csv' -printf '%p,' | sed -e 's/,$//g')"

#replace '#' with '' in the whole dataset due to an error in sentence validator that allowed this char
sed -i 's/#//g' /mnt/extracted/data/*test.csv
sed -i 's/#//g' /mnt/extracted/data/*train.csv
sed -i 's/#//g' /mnt/extracted/data/*dev.csv
sed -i 's/#//g' /mnt/extracted/data/cv-it/clips/*test.csv
sed -i 's/#//g' /mnt/extracted/data/cv-it/clips/*train.csv
sed -i 's/#//g' /mnt/extracted/data/cv-it/clips/*dev.csv

if [ ! -f "/mnt/models/alphabet.txt" ]; then
if [ "${ENGLISH_COMPATIBLE}" = "1" ]; then
Expand Down
23 changes: 0 additions & 23 deletions DeepSpeech/import_lingualibre.sh

This file was deleted.

2 changes: 0 additions & 2 deletions DeepSpeech/run_it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -xe

$HOME/import_cvit.sh

$HOME/import_lingualibre.sh

$HOME/generate_alphabet.sh

$HOME/build_lm.sh
Expand Down
1 change: 0 additions & 1 deletion DeepSpeech/train_it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ pushd $HOME/ds/
--checkpoint_dir /mnt/checkpoints/ \
--export_dir /mnt/models/ \
--export_tflite \
--nouse_seq_length \
--export_language "it"
fi;

Expand Down

0 comments on commit 2332e03

Please sign in to comment.