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

no member named ‘getUnconnectedOutLayersNames’ #2

Open
skyline-o opened this issue Mar 12, 2021 · 2 comments
Open

no member named ‘getUnconnectedOutLayersNames’ #2

skyline-o opened this issue Mar 12, 2021 · 2 comments

Comments

@skyline-o
Copy link

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 skyline-o reopened this Mar 12, 2021
@hpc203
Copy link
Owner

hpc203 commented Mar 15, 2021

opencv版本升级到最新的4.5

@qingqinghu1026
Copy link

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是因为版本不对造成的吗

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

3 participants