Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yolofastestv2 Pytorch to onnx #1

Open
danielzhangau opened this issue Nov 25, 2021 · 0 comments
Open

yolofastestv2 Pytorch to onnx #1

danielzhangau opened this issue Nov 25, 2021 · 0 comments

Comments

@danielzhangau
Copy link

danielzhangau commented Nov 25, 2021

Hi there, I am having trouble with converting yolofastestv2 model from pytorch to onnx
More problem detail is on: hpc203/yolo-fastestv2-opencv#1 (comment)
Any helps will be appreciated!!

Cause identification:

yolofastestv2 源代码里输出2个尺度特征图的,yolofastestv2-opencv version在转换onnx文件的程序里做了一个torch.cat的处理,把两个输出特征图拼接成一个

My understanding is the model output is two different scale of feature maps, but the OpenCV version implementation only accept one. How to concatenate two features maps when converting the format from PyTorch to onnx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant