-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
感谢分享,最近也想通过opencv调用DB模型,但是在使用您提供的模型以后出现以下报错,请问这个是opencv版本问题吗?
Traceback (most recent call last):
File "main.py", line 145, in
net = dbnet(binaryThreshold=args.binaryThreshold, polygonThreshold=args.polygonThreshold, unclipRatio=args.unclipRatio, maxCandidates=args.maxCandidates)
File "main.py", line 115, in init
self.model = cv2.dnn.readNet('DB_TD500_resnet50.onnx')
cv2.error: OpenCV(4.2.0) /tmp/opencv-4.2.0/modules/dnn/src/layers/pooling_layer.cpp:1174: error: (-215:Assertion failed) (outShape[2 + i] - 1) * strides[i] < inpShape[i] + pads_end[i] in function 'getMemoryShapes'
Metadata
Metadata
Assignees
Labels
No labels