加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
clear.sh 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
Snowdar 提交于 2020-07-27 22:14 . fix
#!/bin/bash
# Copyright xmuspeech (Author:Snowdar 2020-03-25)
type="xvector_score"
. subtools/parse_options.sh
. subtools/path.sh
if [[ $# != 1 ]];then
echo "[exit] Num of parameters is not equal to 1"
echo "usage: $0 --type xvector_score <find-dir>"
exit 1
fi
dir=$1
if [ "$type" == "xvector_score" ];then
# Clear the files generated by back-end scoring process. It will not clear the original xvector.ark or xvector.scp.
find $dir -name "xvector_*" | xargs -n 1 rm -f
else
echo "Do not support $type now." && exit 1
fi
echo "Clear done."
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化