yolact-opencv-dnn-cpp-python icon indicating copy to clipboard operation
yolact-opencv-dnn-cpp-python copied to clipboard

no member named ‘getUnconnectedOutLayersNames’

Open skyline-o opened this issue 3 years ago • 2 comments

main.cpp,make时报错: main.cpp:232:36: error: ‘class cv::dnn::experimental_dnn_34_v7::Net’ has no member named ‘getUnconnectedOutLayersNames’; did you mean ‘getUnconnectedOutLayers’? this->net.forward(outs, this->net.getUnconnectedOutLayersNames()); 我用的opencv3.4,请问是opencv版本的问题吗?

skyline-o avatar Mar 12 '21 06:03 skyline-o

opencv版本升级到最新的4.5

hpc203 avatar Mar 15 '21 02:03 hpc203

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.0.1) /.../workspace/opencv-4/opencv-4.0.1/modules/dnn/src/layers/eltwise_layer.cpp:110: error: (-215:Assertion failed) inputs.size() >= 2 in function 'getMemoryShapes'

已放弃 (核心已转储) 必须使用4.5以上的版本吗?这个core是因为版本不对造成的吗

qingqinghu1026 avatar May 28 '21 07:05 qingqinghu1026