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

'CNNNetReader’ was not declared #16

Open
MohammadAbadi-Conigital opened this issue Mar 3, 2022 · 0 comments
Open

'CNNNetReader’ was not declared #16

MohammadAbadi-Conigital opened this issue Mar 3, 2022 · 0 comments

Comments

@MohammadAbadi-Conigital
Copy link

MohammadAbadi-Conigital commented Mar 3, 2022

During make the file, I have faced with this problem. In new openvino version CNNNetReader is removed. What should I do?

In member function ‘void CnnDLSDKBase::Load()’:
OpenVino-Driver-Behaviour/src/cnn.cpp:25:5: error: ‘CNNNetReader’ was not declared in this scope
OpenVino-Driver-Behaviour/src/cnn.cpp:26:5: error: ‘net_reader’ was not declared in this scope

in this part of the code:

void CnnDLSDKBase::Load() {
CNNNetReader net_reader;
net_reader.ReadNetwork(config_.path_to_model);
net_reader.ReadWeights(config_.path_to_weights);

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

1 participant