-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
Open
Labels
Description
Hi,
Hi get the following error when loading my ONNX model:
net = cv2.dnn.readNetFromONNX('/content/model/mrcnn.onnx')
Error:
---------------------------------------------------------------------------
error Traceback (most recent call last)
<ipython-input-18-60eb738b451d> in <module>()
29 print("[INFO] loading Mask R-CNN from the disk...")
---> 30 net = cv2.dnn.readNetFromONNX('/content/model/mrcnn.onnx')
error: OpenCV(4.5.3-pre) /content/opencv/modules/dnn/src/onnx/onnx_importer.cpp:2129: error: (-2:Unspecified error) in function 'handleNode'
> Node [Split]:(ROI_3/split:0) parse error: OpenCV(4.5.3-pre) /content/opencv/modules/dnn/src/layers/slice_layer.cpp:164: error: (-215:Assertion failed) inputs.size() == 1 in function 'getMemoryShapes'
I don't understand why, does anyone have a clue?
The model can be downloaded from the following link: https://drive.google.com/file/d/1o_o17Nrpi4Daw-Dxaxif1LKT5yzZ1WJ6/view?usp=sharing
Best Regards,
Luis