TexasInstruments / edgeai-yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite. Forked from https://ultralytics.com/yolov5

Home Page:https://github.com/TexasInstruments/edgeai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to export the onnx model ?

xinsuinizhuan opened this issue · comments

❔Question

I export the model with:
python models/export.py --weights Yolov5s6_pose_960.pt --img 960 --batch 1 --simplify --export-nms

the model with output is:
图片

and export with no nms is:
图片
so many output layers

how to export with the output:
图片

Additional context

when i export with:
python models/export.py --weights Yolov5s6_pose_960.pt --img 960 --batch 1 --simplify
the result is:
图片

Hey, I am looking at this repo. Could you add my wechat to talk together about how to deploy this to TensorRT and Deepstream. My wechat account is 1642942273