raymondlo84 / openvino-paddlepaddle-demo

This repository provides examples of PaddlePaddle and OpenVINO integration.
Apache License 2.0
22 stars 11 forks source link

Unknown model format! #3

Open WangRongsheng opened 2 years ago

WangRongsheng commented 2 years ago

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.
raymondlo84 commented 2 years ago

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.

lwbmowgli commented 2 years ago

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