PaddlePaddle / PaddlePaddle/FastDeploy
PPYOLOER使用C++推理(fastdeploy-win-x64-gpu-1.0.7)获取目标结果不正确
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
auto option = fastdeploy::RuntimeOption();
option.UseGpu();
auto model = fastdeploy::vision::detection::PPYOLOER(model_file, params_file,
config_file, option);
if (!model.Initialized()) {
std::cerr << "Failed to initialize." << std::endl;
return;
}
const cv::Mat im = cv::imread(image_file);
fastdeploy::vision::DetectionResult res;
if (!model.Predict(im, &res)) {
std::cerr << "Failed to predict." << std::endl;
return;
}
使用事例中的网络和图片,获取res.rotated_boxes.size() =0
请帮忙分析一下是哪里问题?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the C++ PPYOLOER example with fastdeploy-win-x64-gpu-1.0.7, the example network, and the supplied image. Trace the PPYOLOER Predict entry point and inspect how the result is populated, especially res.rotated_boxes. Done means identifying why the rotated-box result is empty and documenting a verified correction or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, opencv
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100