openvinotoolkit / openvinotoolkit/model_server

vehicle-detection-0202 responds to queries when running on CPU, gives an error when running on GPU

Open
#2,337 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
931
Forks
277
Avg merge
2d 13h
Merged PRs (30d)
68

Description

I am using the model vehicle-detection-0202 in its openvino_ir format running in a OVMS environment, however when I try to send requests to the model running on a CPU I can get back the expected response, e.g.

{
    "model_name": "my-model",
    "model_version": "1",
    "outputs": [{
            "name": "detection_out",
            "shape": [1, 1, 200, 7],
            "datatype": "FP32",
            "data": [0.0, ..., data, ..., 0.0]
        }]
}

If I instead try to send a request to the model running on a GPU I keep getting error messages like the following:

{"code":2,"message":"json: unsupported value: -Inf"}

(Sometimes instead of -Inf the value is NaN). I don't quite understand what I'm doing wrong, as the requests are in the same format and the data has all the same attributes. Any idea what's going on?

Contributor guide

Open the contributing guide

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

No files, tests, or entry points are named. Start by reproducing the same vehicle-detection-0202 request in OVMS with the openvino_ir model on CPU and GPU, then compare the output values and server logs. Done means identifying why GPU inference produces -Inf or NaN and confirming valid responses for both devices.

Written by the indexing model from the issue text.

Assessment

Domain
backend, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.