Ask Your Question
0

Cannot read net from Model Optimizer

asked 2019-06-13 08:28:59 -0600

Daraen gravatar image

Hello everyone!

I want to use FP16 models so I used OpenVINO's Model Optimizer to generate a model. The problem is that when I read the model (.xml and .bin) with my OpenCV program, an exception is raising.

How can I solve this problem?

Thank you.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-06-19 02:14:00 -0600

Daraen gravatar image

Hello.

I found a little solution : I used opencv_world410.dll and setupvars.bat thanks to OpenVINO. The problem now is that I can't use Open CL to work with GPU.

Maybe someone have a solution to fix it?

edit flag offensive delete link more
0

answered 2019-06-14 21:50:28 -0600

Aeroxander gravatar image

updated 2019-06-14 21:51:16 -0600

When I tried to load a FP16 ONNX model I also got an error, what I would try is to use an - or convert the model to FP32. Then after that you can set OpenCL_FP16 for inference.

There could be another way but this seems the only possibility from what I know.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-06-13 08:28:59 -0600

Seen: 624 times

Last updated: Jun 19 '19