提交 3c6eea07 编写于 作者: H Hui Zhang

cp dir when it exits

上级 1b84f21c
...@@ -19,7 +19,9 @@ function clean() { ...@@ -19,7 +19,9 @@ function clean() {
trap clean EXIT trap clean EXIT
# ckpt_prfix dir # ckpt_prfix dir
cp -r ${ckpt_prefix} ${output} if [ -d ${ckpt_prefix} ];then
cp -r ${ckpt_prefix} ${output}
fi
# ckpt_prfix.{json,...} # ckpt_prfix.{json,...}
cp ${ckpt_prefix}.* ${output} cp ${ckpt_prefix}.* ${output}
# model config, mean std, vocab # model config, mean std, vocab
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册