Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

the debug and release mode #4674

Closed
andeyeluguo opened this issue May 1, 2020 · 0 comments
Closed

the debug and release mode #4674

andeyeluguo opened this issue May 1, 2020 · 0 comments

Comments

@andeyeluguo
Copy link

andeyeluguo commented May 1, 2020

I am using openvino installed by the official tutorial. But when I run this code in debug mode, it crashed.

    Core ie;

    auto cnnNetwork = ie.ReadNetwork("frozen_darknet_yolov3_model.xml");

    std::shared_ptr<const ngraph::Function> ngraphFunction = cnnNetwork.getFunction();

    auto op = ngraphFunction->get_ops();

it crashed when it runs get_opts. Works well in release mode, but failed in debug mode.
I try to find why, and just find that

    auto param = ngraphFunction->get_parameters();

will get empty param in debug mode, while it is not empty in release mode.
I also found the the debug mode is using ngraph.dll , not the ngraphd.dll. the ngraphd.dll is bigger than ngraph.dll, but it seems not to be used, because there is no ngraphd.lib, just a ngraph.lib.
That is really weird. please help me.
Regards.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant