未验证 提交 7284e3f9 编写于 作者: H HydrogenSulfate 提交者: GitHub

Merge pull request #2080 from HydrogenSulfate/fix_KL_testcpp

fix prepare.sh
......@@ -98,7 +98,9 @@ if [[ ${MODE} = "cpp_infer" ]]; then
if [[ $cpp_type == "cls" ]]; then
eval "wget -nc $cls_inference_url"
tar xf "${model_name}_infer.tar"
tar_name=$(func_get_url_file_name "$cls_inference_url")
model_dir=${tar_name%.*}
eval "tar xf ${tar_name}"
cd dataset
rm -rf ILSVRC2012
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册