PaddlePaddle / PaddlePaddle/FastDeploy

PPYOLOER使用C++推理(fastdeploy-win-x64-gpu-1.0.7)获取目标结果不正确

Open
#2,005 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.