提交 c3fc0ca2 编写于 作者: B Bai Yifan 提交者: whs

fix slim detection eval&infer usage (#3602)

上级 588d8dc4
...@@ -115,7 +115,7 @@ python ../eval.py \ ...@@ -115,7 +115,7 @@ python ../eval.py \
``` ```
python ../infer.py \ python ../infer.py \
--model_path ${checkpoint_path}/${epoch_id}/eval_model/ \ --model_path ${checkpoint_path}/${epoch_id}/eval_model/ \
--model_name __model__ \ --model_name __model__.infer \
--params_name __params__ \ --params_name __params__ \
-c ../../configs/yolov3_mobilenet_v1_voc.yml \ -c ../../configs/yolov3_mobilenet_v1_voc.yml \
--infer_dir ../../demo --infer_dir ../../demo
......
...@@ -196,7 +196,7 @@ python ../eval.py \ ...@@ -196,7 +196,7 @@ python ../eval.py \
``` ```
python ../infer.py \ python ../infer.py \
--model_path ${checkpoint_path}/${epoch_id}/eval_model/ \ --model_path ${checkpoint_path}/${epoch_id}/eval_model/ \
--model_name __model__ \ --model_name __model__.infer \
--params_name __params__ \ --params_name __params__ \
-c ../../configs/yolov3_mobilenet_v1_voc.yml \ -c ../../configs/yolov3_mobilenet_v1_voc.yml \
--infer_dir ../../demo --infer_dir ../../demo
......
...@@ -140,7 +140,7 @@ python eval.py \ ...@@ -140,7 +140,7 @@ python eval.py \
python infer.py \ python infer.py \
--use_gpu True \ --use_gpu True \
--model_path ${save_path}/eval_model/ \ --model_path ${save_path}/eval_model/ \
--model_name __model__ \ --model_name __model__.infer \
--params_name __params__ --params_name __params__
``` ```
......
...@@ -129,7 +129,7 @@ python eval.py \ ...@@ -129,7 +129,7 @@ python eval.py \
python infer.py \ python infer.py \
--use_gpu True \ --use_gpu True \
--model_path ${save_path}/eval_model/ \ --model_path ${save_path}/eval_model/ \
--model_name __model__ \ --model_name __model__.infer \
--params_name __params__ --params_name __params__
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册