Hello everyone,
I am trying the run the Industrial surface defect reference implementation on my Ubuntu 18.04. Unfortunately, model optimizer is not installing and giving me error. Please check the screenshot.
I adopted the same process as given here: https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/industrial-surface-defect-detection.html
Will appreciate your suggestion/recommendation/insights.
Hi Nitish_,
The issue seems to be related to OpenCV (see below), are you running Ubuntu 18.04 in a virtual environment? If so, please try to install it on a system running Ubuntu 18.04 natively.
******************************************************************
* FATAL ERROR: *
* This OpenCV build doesn't support current CPU/HW configuration *
* *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details *
******************************************************************
Required baseline features:
ID= 2 (SSE) - OK
ID= 3 (SSE2) - OK
ID= 4 (SSE3) - OK
ID= 5 (SSSE3) - OK
ID= 6 (SSE4.1) - OK
ID= 8 (POPCNT) - NOT AVAILABLE
ID= 7 (SSE4.2) - OK
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.1-openvino) ../opencv/modules/core/src/system.cpp:626: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'
Regards,
Jesus
連結已複製
Hi Nitish_,
Thank you for reporting, I was able to reproduce the issue from my side. Looking at my logs, OpenVINO Model Optimizer failed to install after onnx was not able to install. As a workaround, could you try to manually install onnx and run the ./edgesoftware install again?
pip3 install onnx==1.7.0
Regards,
Jesus
Hi Jesus,
Despite installling onnx , the same problem persists. Could you pls let me know the command to view logs that may help to resolve this issue? Model optimiser is not going beyond 66%.
Regards,
Nitish
.
Hi Nitish_,
The issue seems to be related to OpenCV (see below), are you running Ubuntu 18.04 in a virtual environment? If so, please try to install it on a system running Ubuntu 18.04 natively.
******************************************************************
* FATAL ERROR: *
* This OpenCV build doesn't support current CPU/HW configuration *
* *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details *
******************************************************************
Required baseline features:
ID= 2 (SSE) - OK
ID= 3 (SSE2) - OK
ID= 4 (SSE3) - OK
ID= 5 (SSSE3) - OK
ID= 6 (SSE4.1) - OK
ID= 8 (POPCNT) - NOT AVAILABLE
ID= 7 (SSE4.2) - OK
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.1-openvino) ../opencv/modules/core/src/system.cpp:626: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'
Regards,
Jesus
Hi Jesus,
Thank you :). The issue got resolved by following reference details.
Ref: https://www.virtualbox.org/ticket/20005
Regards,
Nitish
