提交 4ee9dd49 编写于 作者: H HydrogenSulfate

fix small bug in prepare.sh

上级 c449ba34
......@@ -252,7 +252,7 @@ elif [[ ${MODE} = "whole_infer" ]]; then
tar_name=$(func_get_url_file_name "${model_url_value}")
echo ${tar_name}
eval "tar -xf ${tar_name}"
rm -rf {tar_name}
rm -f ${tar_name}
fi
if [[ $model_name == "SwinTransformer_large_patch4_window7_224" || $model_name == "SwinTransformer_large_patch4_window12_384" ]]; then
cmd="mv ${model_name}_22kto1k_pretrained.pdparams ${model_name}_pretrained.pdparams"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册