Skip to content

[HW Accel Support]: AttributeError: 'TensorRtDetector' object has no attribute 'outputs' #15470

Discussion options

You must be logged in to vote

To make @NickM-27 his answer more clear,
you are missing the model bit:

model:
path: /config/model_cache/tensorrt/yolov7-320.trt
input_tensor: nchw
input_pixel_format: rgb
width: 320
height: 320

I ran into exactly the same issue. For me this was what was missing and caused exactly your error message. So hopefully this helps you too.

Replies: 2 comments

Comment options

NickM-27
Dec 12, 2024
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cdgriffith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment