fix small bug in prepare.sh
@@ -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"
