PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

stfpm 导出模型使用FastDeploy c++推理无结果

Open 534114658 opened this issue 1 year ago • 0 comments

问题确认 Search before asking

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

请提出你的问题 Please ask your question

数据用的paddx stfpm里面范例的数据 python tools/train.py --config configs/stfpm/stfpm_resnet18_mvtec.yml 训练正常 python tools/predict.py --config configs/stfpm/stfpm_resnet18_mvtec.yml --model_path output/iter_5000/model.pdparams --image_path mvtec_examples/test/broken/001.png python识别正常 001

python tools/export.py --config configs/stfpm/stfpm_resnet18_mvtec.yml --model_path output/iter_5000/model.pdparams --save_dir output/inference_model 导出模型正常

deploy/fastdeploy/semantic_segmentation/cpu-gpu/cpp/infer.cc 同样的图片使用FastDeploy推理无结果

deploy/cpp/src/test_seg.cc 同样的图片使用paddle_inference推理无结果

534114658 avatar Oct 15 '24 02:10 534114658