From c3fc0ca2beb7cd3be5d24965f4fa7d549d398218 Mon Sep 17 00:00:00 2001 From: Bai Yifan Date: Wed, 16 Oct 2019 15:45:01 +0800 Subject: [PATCH] fix slim detection eval&infer usage (#3602) --- PaddleCV/PaddleDetection/slim/distillation/README.md | 2 +- PaddleCV/PaddleDetection/slim/prune/README.md | 2 +- PaddleSlim/classification/distillation/README.md | 2 +- PaddleSlim/classification/pruning/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PaddleCV/PaddleDetection/slim/distillation/README.md b/PaddleCV/PaddleDetection/slim/distillation/README.md index 88d753bb..af1962e4 100755 --- a/PaddleCV/PaddleDetection/slim/distillation/README.md +++ b/PaddleCV/PaddleDetection/slim/distillation/README.md @@ -115,7 +115,7 @@ python ../eval.py \ ``` python ../infer.py \ --model_path ${checkpoint_path}/${epoch_id}/eval_model/ \ - --model_name __model__ \ + --model_name __model__.infer \ --params_name __params__ \ -c ../../configs/yolov3_mobilenet_v1_voc.yml \ --infer_dir ../../demo diff --git a/PaddleCV/PaddleDetection/slim/prune/README.md b/PaddleCV/PaddleDetection/slim/prune/README.md index ee987658..80a572f2 100644 --- a/PaddleCV/PaddleDetection/slim/prune/README.md +++ b/PaddleCV/PaddleDetection/slim/prune/README.md @@ -196,7 +196,7 @@ python ../eval.py \ ``` python ../infer.py \ --model_path ${checkpoint_path}/${epoch_id}/eval_model/ \ - --model_name __model__ \ + --model_name __model__.infer \ --params_name __params__ \ -c ../../configs/yolov3_mobilenet_v1_voc.yml \ --infer_dir ../../demo diff --git a/PaddleSlim/classification/distillation/README.md b/PaddleSlim/classification/distillation/README.md index 6a097851..b9104973 100755 --- a/PaddleSlim/classification/distillation/README.md +++ b/PaddleSlim/classification/distillation/README.md @@ -140,7 +140,7 @@ python eval.py \ python infer.py \ --use_gpu True \ --model_path ${save_path}/eval_model/ \ - --model_name __model__ \ + --model_name __model__.infer \ --params_name __params__ ``` diff --git a/PaddleSlim/classification/pruning/README.md b/PaddleSlim/classification/pruning/README.md index 6c4035d5..05480ded 100644 --- a/PaddleSlim/classification/pruning/README.md +++ b/PaddleSlim/classification/pruning/README.md @@ -129,7 +129,7 @@ python eval.py \ python infer.py \ --use_gpu True \ --model_path ${save_path}/eval_model/ \ - --model_name __model__ \ + --model_name __model__.infer \ --params_name __params__ ``` -- GitLab