Problem when I import my onnx model

Hi, I’m trying to import my onnx model that I exported with Pytorch, and with dnn.readNetFromONNX I get an error. Wheras if i import the model with an onnx session it’s all correct.

The error that I get is this:

[ERROR:0] global /tmp/pip-req-build-afu9cjzs/opencv/modules/dnn/src/onnx/onnx_importer.cpp (2125) handleNode DNN/ONNX: ERROR during processing node with 2 inputs and 1 outputs: [Unsqueeze]:(30)