-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Unknown layer of type "Exp" loading ONNX model zoo #19475
Copy link
Copy link
Closed
Labels
Milestone
Description
System information (version)
- OpenCV => 4.5.1
- Operating System / Platform => Windows 10 64 Bit
- Compiler => Visual Studio 2019 amd64
Detailed description
There's an issue loading some of the onnx model zoo examples.
[ERROR:0] global C:\build\master_winpack-build-win64-vc15\opencv\modules\dnn\src\onnx\onnx_importer.cpp (1878) cv::dnn::dnn4_v20201117::ONNXImporter::handleNode DNN/ONNX: ERROR during processing node with 1 inputs and 1 outputs: [Exp]:(472)
OpenCV: terminate handler is called! The last OpenCV error is:
OpenCV(4.5.1) Error: Unspecified error (> Node [Exp]:(472) parse error: OpenCV(4.5.1) C:\build\master_winpack-build-win64-vc15\opencv\modules\dnn\src\dnn.cpp:614: error: (-2:Unspecified error) Can't create layer "472" of type "Exp" in function 'cv::dnn::dnn4_v20201117::LayerData::getLayerInstance'
> ) in cv::dnn::dnn4_v20201117::ONNXImporter::handleNode, file C:\build\master_winpack-build-win64-vc15\opencv\modules\dnn\src\onnx\onnx_importer.cpp, line 1887Steps to reproduce
Download any of the ultraface models and load using cv::dnn.
#include <opencv2/dnn.hpp>
void main() {
cv::dnn::Net net = cv::dnn::readNetFromONNX( "version-RFB-320.onnx" );
}Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
- I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable