PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.85k stars 2.9k forks source link

"value": [ "No object detected!" ] #8198

Open vikhil0609 opened 1 year ago

vikhil0609 commented 1 year ago

问题确认 Search before asking

请提出你的问题 Please ask your question

Hii there , I have fine tuned layout analysis model in paddle detection and I am able to produce good amount of results using this command python3 tools/infer.py \ -c configs/picodet/legacy_model/application/layout_analysis/picodet_lcnet_x1_0_layout.yml \ -o weights='output/picodet_lcnet_x1_0_layout/best_model.pdparams' \ --infer_img='/root/dataset/201737028518_claims_page1.png' \ --output_dir=output_dir/ \ --draw_threshold=0.5

OUTPUT EXAMPLE

image

But when I tried to deploy it into the serving model it gives me

image

This log stating No object detected.

I have used this link for following the details for deploying : https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.6/deploy/serving/python

Waiting for someones reply on this thank you.

vikhil0609 commented 1 year ago

Hii again Can someone address this issue and find some solution. Thank you

vikhil0609 commented 1 year ago

@qingqing01