Skip to content

Segmentation fault occurs when loading ONNX v6 model shufflenet_v2 #18898

@cxnaive

Description

@cxnaive
System information (version)
  • OpenCV => 4.5.0
  • Operating System / Platform => Ubuntu 20.04
  • Compiler => gcc x64
Detailed description

when loading onnx net converted from Pytorch. segmentation fault occurs.
model:
https://pytorch.org/hub/pytorch_vision_shufflenet_v2/
onnx_file:

net.zip

and map:
1
2

Steps to reproduce
cout << "net init begins!" << endl;
net = dnn::readNetFromONNX(modelBin);
cout << "Read done." << endl;
Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcategory: dnnconfirmedThere is stable reproducer / investigation complete

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions