-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Unknown layer type: "sam" layer #18988
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5.0 with DNN and Cuda support
- Operating System / Platform => Windows 10 64 Bit
- Compiler => Visual Studio 2017
Detailed description
While trying to use this C++ code : https://gist.github.com/YashasSamaga/e2b19a6807a13046e399f4bc3cca3a49
I got an error :
OpenCV(4.5.0) Error: Parsing error (Unknown layer type: sam) in cv::dnn::darknet::ReadDarknetFromCfgStream, file C:\opencv-4.5.0\modules\dnn\src\darknet\darknet_io.cpp, line 865
There is indeed some SAM layers in my .cfg, is there a way to use OpenCV DNN without retraining the network without sam layers?
Any forks with sam layer support?
Steps to reproduce
relates: AlexeyAB/darknet#5891
Reactions are currently unavailable