Skip to content

Yolov5s onnx export but with required output format #6155

@sezer-muhammed

Description

@sezer-muhammed

Search before asking

Question

Hi,
I need to run yolov5s on jetson nano, I know jetson can run directly pth file but I want to do it with onnx file.

I convert yolov5s model into onnx file without any problem, and I can run it on jetson nano.

But problem is output type

Screenshot from 2022-01-02 15-33-21
.

As you can see in image, yolov5 has a output with size 114k85
but example model that compatible with jetson inference library from dusty_nv has an output with scores and boxes.

This causes problem because I guess they coded in this way, so I need to turn yolov5 into this format.

Normally I would change models output layer but yolov5s is a bit complicated for me.

So how can I achieve this?

thanks

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions