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

Cannot create Swish layer Mul_43 id:38 #13

Closed
Jerryzhangzhao opened this issue Jul 20, 2021 · 5 comments
Closed

Cannot create Swish layer Mul_43 id:38 #13

Jerryzhangzhao opened this issue Jul 20, 2021 · 5 comments

Comments

@Jerryzhangzhao
Copy link

When run openvino c++ demo, the following error accured:
'''
Cannot create Swish layer Mul_43 id:38
C:\j\workspace\private-ci\ie\build-windows-icc2018\b\repos\closed-dldt\inference-engine\src\inference_engine\ie_ir_parser.cpp:424
C:\j\workspace\private-ci\ie\build-windows-icc2018\b\repos\closed-dldt\inference-engine\src\inference_engine\ie_core.cpp:493
'''

Env:
windows10, vs2019, openvino 2020.3.194

Model used:
YOLOX-S-nano, YOLOX-S downloaded from:
https://github.com/Megvii-BaseDetection/YOLOX/tree/main/demo/OpenVINO/cpp

Do I need to convert the model from onnx format to openvino type myself?

@Jerryzhangzhao
Copy link
Author

Issue solved with updating openvino to 2021.4.582.
But another problem is when I passed a image with person,dog and bike on it, the detection result is nothing. the size of objects is zero, the saved "_demo.jpg" is the same as the original input image. Is there some parameters need to be set properly?

the output of the console:

[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\highgui\src\registry.impl.hpp (106) cv::highgui_backend::UIBackendRegistry::UIBackendRegistry UI: Enabled backends(3, sorted by priority): GTK(1000); GTK3(990); GTK2(980) + BUILTIN(WIN32UI)
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load C:\Program Files (x86)\IntelSWTools\openvino_2021.4.582\opencv\bin\opencv_highgui_gtk453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load C:\Program Files (x86)\IntelSWTools\openvino_2021.4.582\opencv\bin\opencv_highgui_gtk3453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk3453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load C:\Program Files (x86)\IntelSWTools\openvino_2021.4.582\opencv\bin\opencv_highgui_gtk2453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk2453_64.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\parallel\registry_parallel.impl.hpp (96) cv::parallel::ParallelBackendRegistry::ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load C:\Program Files (x86)\IntelSWTools\openvino_2021.4.582\opencv\bin\opencv_core_parallel_onetbb453_64d.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_onetbb453_64d.dll => FAILED
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load C:\Program Files (x86)\IntelSWTools\openvino_2021.4.582\opencv\bin\opencv_core_parallel_tbb453_64d.dll => OK
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\parallel\plugin_parallel_wrapper.impl.hpp (48) cv::impl::PluginParallelBackend::initPluginAPI core(parallel): plugin is ready to use 'TBB (interface 9107) OpenCV parallel plugin'
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\include\opencv2/core/parallel/backend/parallel_for.tbb.hpp (54) cv::parallel::tbb::ParallelForBackend::ParallelForBackend Initializing TBB parallel backend: TBB_INTERFACE_VERSION=9107
[ INFO:0] global C:\jenkins\workspace\OpenCV\OpenVINO\2021.4\build\windows\opencv\modules\core\src\parallel\parallel.cpp (77) cv::parallel::createParallelForAPI core(parallel): using backend: TBB (priority=990)

@Joker316701882
Copy link
Member

@Jerryzhangzhao Hi, have you fixed this problem? If not, there might be some problems in our OpenVINO cpp demo, because the same issue is mentioned in #40 . We will work on it soon, however, your contribution is also welcomed if you figured out the reason.

@ACheun9
Copy link

ACheun9 commented Jul 22, 2021

我的环境是win10+openvino2021.4.582,可以得到正确的结果

@Joker316701882
Copy link
Member

@ACheun9 Good to know! Have you met any bug in this process?

@ACheun9
Copy link

ACheun9 commented Jul 22, 2021

@ACheun9 Good to know! Have you met any bug in this process?
您好,我是用你们提供的tiny权重测试的,升级了最新的openvino后好像就没问题了,估计低版本有些操作不支持。其他问题目前还没有遇到

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

4 participants