NVIDIA / NVIDIA/TensorRT

ERROR when reducing (onnx) model inputs using Polygraphy

Open
#4,571 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module:Polygraphy
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

[I] Finished 10 iteration(s) | Passed: 1/10 | Pass Rate: 10.0%
[I] Finished reducing model outputs
[I] Marking model outputs: [Variable (/model.0/stem2a/conv/Conv_output_0): (shape=[1, 16, 320, 320], dtype=float32)]
[I] Reducing model inputs
[I]     RUNNING | Iteration 1 | Approximately 2 iteration(s) remaining
[I]         Marking model inputs: [Variable (/model.0/stem1/act/Relu_output_0): (shape=[1, 32, 320, 320], dtype=float32), Variable (): (shape=None, dtype=None)]
[I]         Running inference with ONNX-Runtime to determine metadata for intermediate tensors.
            This will cause intermediate models to have static shapes.
[!]             The following outputs were not found in the model: {''}.

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

Start by reproducing the reported Polygraphy model-input reduction with the provided log and inspect how the reduction step handles the unnamed output shown in the error. Trace the ONNX reduction and inference path until the missing output is identified; done means the reduction completes without reporting an output that is not in the model.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.