Export trained model before testing with checkpoint

This commit is contained in:
Alexandre Lissy 2018-10-25 13:28:32 +02:00
parent ae5303e130
commit fc9b6e3c2c

View File

@ -62,12 +62,8 @@ fi;
pushd ${HOME}/DeepSpeech/ds/
time ./bin/run-tc-ldc93s1_new.sh 105
time ./bin/run-tc-ldc93s1_checkpoint.sh 105
popd
deactivate
pyenv uninstall --force ${PYENV_NAME}
cp /tmp/train/output_graph.pb ${TASKCLUSTER_ARTIFACTS}
if [ ! -z "${CONVERT_GRAPHDEF_MEMMAPPED}" ]; then
@ -77,3 +73,10 @@ if [ ! -z "${CONVERT_GRAPHDEF_MEMMAPPED}" ]; then
/tmp/${convert_graphdef} --in_graph=/tmp/train/output_graph.pb --out_graph=/tmp/train/output_graph.pbmm
cp /tmp/train/output_graph.pbmm ${TASKCLUSTER_ARTIFACTS}
fi;
pushd ${HOME}/DeepSpeech/ds/
time ./bin/run-tc-ldc93s1_checkpoint.sh 105
popd
deactivate
pyenv uninstall --force ${PYENV_NAME}