Skip to content

AutoShape Usage #7128

@sezer-muhammed

Description

@sezer-muhammed

Search before asking

Question

Hi,

I want to use TRT model in my code.
There are some repos about it but these are complicated, on the other side yolov5s's codes are clear and easy to follow.
So I want to implement trt model just like in detect.py

There are multidetect backend class, and autoshape class.

The torch hub uses autoshape and returns detections object which is very usefull.

As far as I see in the codes I may be able to use trt model with autoshape class and get detections class as return.

But I cannot figure it out how to make it.

The question is how to do this?

Additional

No response

Metadata

Metadata

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions