-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
OpenCV::DNN doesn't support conv1d #18205
Copy link
Copy link
Closed
Description
conv = nn.Conv1d(1, 1, kernel_size=k_size, padding=(k_size - 1) // 2, bias=False) does not spport?
opencv: 4.4.0
os:centos 7
python: 3.7
net = dnn.readNetFromONNX('model_best.onnx')
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-n0_oeb8j/opencv/modules/dnn/src/onnx/onnx_importer.cpp:209: error: (-215:Assertion failed) attribute_proto.ints_size() == 2 || attribute_proto.ints_size() == 3 in function 'getLayerParams'
Reactions are currently unavailable