PaddleDetection icon indicating copy to clipboard operation
PaddleDetection copied to clipboard

tools/export_model.py导出模型后测试数据准确率几乎为0,不使用静态模型导出准确确为90%+,请问到底是是什么原因?????

Open shuaihutianxie opened this issue 2 years ago • 1 comments

问题确认 Search before asking

  • [X] 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

使用ppyoloe+进行目标检测 1、直接推理测试: CUDA_VISIBLE_DEVICES=0 python tools/infer.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml -o weights=./output/ppyoloe_plus_crn_l_80e_coco/best_model.pdparams --infer_dir=demo 测试准确率为95,

2、使用tools/export_model.py导出模型: python tools/export_model.py -c configs/ppyoloe/ppyoloe_plus_crn_l_80e_coco.yml -o weights=./output/ppyoloe_plus_crn_l_80e_coco/best_model.pdparams --output_dir=./output/inference_model

使用静态导出的模型测试

推理文件夹下的所有图片

CUDA_VISIBLE_DEVICES=0 python deploy/python/infer.py --model_dir=./output/inference_model/ppyoloe_plus_crn_l_80e_coco --image_dir=demo/ 模型测试图片准确率为10%

######### 请问到底什么原因导致的啊,为啥差距这么明显?????

shuaihutianxie avatar Jul 31 '23 03:07 shuaihutianxie

请问导出后精度降低的问题解决了吗?

xiaohui0225 avatar Sep 18 '23 01:09 xiaohui0225

解决了嘛 还有问题的话请提新的issue

lyuwenyu avatar Mar 04 '24 09:03 lyuwenyu