Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported format or combination of formats #56

Open
bbaronSVK opened this issue May 15, 2023 · 1 comment
Open

Unsupported format or combination of formats #56

bbaronSVK opened this issue May 15, 2023 · 1 comment

Comments

@bbaronSVK
Copy link

i downloaded latest model for facedetection from opencv_zoo and when i try to loat it i get error:

OpenCV(4.7.0) /root/opencv/modules/dnn/src/onnx/onnx_importer.cpp:275: error: (-210:Unsupported format or combination of formats) Failed to parse ONNX model: /opt/opencv_zoo-master/models/face_detection_yunet/face_detection_yunet_2022mar.onnx in function 'ONNXImporter'

but when i load onnx model from php-opencv then everything works correctly.

opencv: git@master
opencv_contrib: git@master
php-opencv: git@master
@morozovsk
Copy link
Member

opencv: git@master
opencv_contrib: git@master

no good idea to use master. try to use opencv sources for 4.7.0

fore example: https://github.com/php-opencv/php-opencv-examples/blob/master/docker/ubuntu_opencv-4.7.0/Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants