openvino-paddlepaddle-demo icon indicating copy to clipboard operation
openvino-paddlepaddle-demo copied to clipboard

Unknown model format!

Open WangRongsheng opened this issue 3 years ago • 2 comments

when i run :

ie = IECore()
net = ie.read_network(pdmodel_file)

net.reshape({'image': [1, 3, 608, 608], 'im_shape': [
            1, 2], 'scale_factor': [1, 2]})

exec_net = ie.load_network(net, device)
assert isinstance(exec_net, ExecutableNetwork)
RuntimeError: Unknown model format! Cannot find reader for model format: pdmodel and read the model: models/yolov3_darknet53_270e_coco/model.pdmodel. Please check that reader library exists in your PATH.

WangRongsheng avatar Sep 01 '21 12:09 WangRongsheng

Have you compiled the code from the source? Would you mind share more information....? This build only works with the latest OpenVINO release from the Github source directly. So if you are using the 2021.4 it will not work at the moment.

Thank you.

raymondlo84 avatar Sep 02 '21 00:09 raymondlo84

A ha, when I use this code also have this error,And my version is 2021.4 ,os is windows10. Now I got it!

lwbmowgli avatar Sep 14 '21 09:09 lwbmowgli