-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Description
System Information
penCV version: 4.x commit:71581d9c97
Operating System / Platform: Ubuntu 20.04
Compiler & compiler version: GCC 9.4.0
Detailed description
/home/tool/gitdown/opencv/modules/dnn/src/layers/elementwise_layers.cpp: In instantiation of 'cv::Ptrcv::dnn::dnn4_v20240521::BackendNode cv::dnn::ElementWiseLayer::initCann(const std::vector<cv::Ptrcv::dnn::dnn4_v20240521::BackendWrapper >&, const std::vector<cv::Ptrcv::dnn::dnn4_v20240521::BackendWrapper >&, const std::vector<cv::Ptrcv::dnn::dnn4_v20240521::BackendNode >&) [with Func = cv::dnn::GeluFunctor]':
/home/tool/gitdown/opencv/modules/dnn/src/layers/elementwise_layers.cpp:191:30: required from here
/home/tool/gitdown/opencv/modules/dnn/src/layers/elementwise_layers.cpp:195:21: error: 'struct cv::dnn::GeluFunctor' has no member named 'initCannOp'
195 | return func.initCannOp(Layer::name, inputs, nodes);
Steps to reproduce
checkout ommit:71581d9c97。 in CANN system。
mkdir build && cd build
souce your path to cann tookit/set_env.sh
cmake -D WITH_CANN=ON -D BUILD_opencv_gapi=OFF ..
make -j6
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)