Closed
Description
Here is the output of the command
[xxx@fedora-riscv benchmark]$ python benchmark.py --cfg ./config/face_detection_yunet.yaml
Benchmarking ...
mean median min input size model
12.16 12.25 11.91 [160, 120] YuNet with ['face_detection_yunet_2023mar.onnx']
11.73 11.83 11.22 [160, 120] YuNet with ['face_detection_yunet_2023mar_int8.onnx']
[ERROR:[email protected]] global onnx_importer.cpp:1035 handleNode DNN/ONNX: ERROR during processing node with 3 inputs and 1 outputs: [DequantizeLinear]:(onnx_node!bbox_head.multi_level_kps.2.conv2.weight_quantized_node) from domain='ai.onnx'
Traceback (most recent call last):
File "/home/xxx/repos/opencv_zoo/benchmark/benchmark.py", line 226, in <module>
model = model_handler(*model_path, **model_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xxx/repos/opencv_zoo/models/face_detection_yunet/yunet.py", line 22, in __init__
self._model = cv.FaceDetectorYN.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.10.0) /tmp/pip-install-uvko15ge/opencv-python_5d2ac5030ab94a15b5dcfd252013fa45/opencv/modules/dnn/src/onnx/onnx_importer.cpp:1057: error: (-2:Unspecified error) in function 'handleNode'
> Node [[email protected]]:(onnx_node!bbox_head.multi_level_kps.2.conv2.weight_quantized_node) parse error: OpenCV(4.10.0) /tmp/pip-install-uvko15ge/opencv-python_5d2ac5030ab94a15b5dcfd252013fa45/opencv/modules/dnn/src/int8layers/quantization_utils.cpp:18: error: (-215:Assertion failed) axis >= 0 && targetShape.size() > axis && data.total() == targetShape[axis] in function 'broadcast1D2TargetMat'
>