NVIDIA / NVIDIA/TensorRT

Get the layer attributes

Open
#4,102 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

Greetings to all, you can tell me I have an EfficientNMS_TRT layer in the ONNX model, but its type is not nvinfer1::LayerType::kNMS.

check the screenshot:
Image

If I try to bring this layer to dynamic_cast<nvinfer1::INMSLayer>*, then I still don't have the attributes that are inherent in INMSLayer.

How can I get the layer attributes?

Environment

TensorRT Version: 8.6.1.6
NVIDIA GPU: RTX3060
NVIDIA Driver Version: 555.42.02
CUDA Version: 11.1

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 reviewing how EfficientNMS_TRT is represented in the TensorRT 8.6.1.6 API and compare its reported layer type with the INMSLayer interface. Determine whether the needed attributes are exposed for this layer type; done means identifying the supported way to retrieve them or documenting that the API does not expose them.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
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.