Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
43 Views

readNetFromModelOptimizer An error occurred

static const char* names[] = { "dog.jpg",
        //"xu_2_4.jpg",
        //"xu_3_128.jpg","xu_1_153.jpg","xu_5_101.jpg","xu_8_90.jpg","xu_8_208.jpg",
        0
    };
    //string imgname = "guo_0_img60";
    //string img_path = imgname.append(".jpg");
    //Net net = readNetFromDarknet(model_def, model_weights);
    String name_file = "coco.names";
    string binModel = "E:/pb/yolo_v3.bin";
    string xmlInfo = "E:/pb/yolo_v3.xml";

    Net net = readNetFromModelOptimizer(xmlInfo, binModel);
    

    net.setPreferableBackend(DNN_BACKEND_INFERENCE_ENGINE);
    net.setPreferableTarget(DNN_TARGET_CPU);

 

When the program is executed at readNetFromModelOptimizer, the  program is  aborted,is the problem of that OpenVINO enviroment?

 

 

 

0 Kudos
1 Reply
Highlighted
Moderator
43 Views

Hi,

Can you please provide more information about the error message you're getting? Are you running a custom model or a pretrained one? 

Best Regards,
Sahira 

0 Kudos