Don't overwrite exported graph from training task with the TFLite version
This commit is contained in:
parent
e7bbd4a70f
commit
6632504ad1
@ -13,7 +13,7 @@ fi;
|
||||
python -u DeepSpeech.py --noshow_progressbar \
|
||||
--n_hidden 494 \
|
||||
--checkpoint_dir '/tmp/ckpt' \
|
||||
--export_dir '/tmp/train' \
|
||||
--export_dir '/tmp/train_tflite' \
|
||||
--lm_binary_path 'data/smoke_test/vocab.pruned.lm' \
|
||||
--lm_trie_path 'data/smoke_test/vocab.trie' \
|
||||
--notrain --notest \
|
||||
|
@ -33,6 +33,7 @@ export PATH="${PYENV_ROOT}/bin:${HOME}/bin:$PATH"
|
||||
mkdir -p ${PYENV_ROOT} || true
|
||||
mkdir -p ${TASKCLUSTER_ARTIFACTS} || true
|
||||
mkdir -p /tmp/train || true
|
||||
mkdir -p /tmp/train_tflite || true
|
||||
|
||||
install_pyenv "${PYENV_ROOT}"
|
||||
install_pyenv_virtualenv "$(pyenv root)/plugins/pyenv-virtualenv"
|
||||
|
@ -32,6 +32,7 @@ export PATH="${PYENV_ROOT}/bin:${HOME}/bin:$PATH"
|
||||
mkdir -p ${PYENV_ROOT} || true
|
||||
mkdir -p ${TASKCLUSTER_ARTIFACTS} || true
|
||||
mkdir -p /tmp/train || true
|
||||
mkdir -p /tmp/train_tflite || true
|
||||
|
||||
install_pyenv "${PYENV_ROOT}"
|
||||
install_pyenv_virtualenv "$(pyenv root)/plugins/pyenv-virtualenv"
|
||||
@ -63,7 +64,7 @@ pushd ${HOME}/DeepSpeech/ds/
|
||||
popd
|
||||
|
||||
cp /tmp/train/output_graph.pb ${TASKCLUSTER_ARTIFACTS}
|
||||
cp /tmp/train/output_graph.tflite ${TASKCLUSTER_ARTIFACTS}
|
||||
cp /tmp/train_tflite/output_graph.tflite ${TASKCLUSTER_ARTIFACTS}
|
||||
|
||||
if [ ! -z "${CONVERT_GRAPHDEF_MEMMAPPED}" ]; then
|
||||
convert_graphdef=$(basename "${CONVERT_GRAPHDEF_MEMMAPPED}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user