Intel® Distribution of OpenVINO™ Toolkit
Community support and discussions about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all things computer vision-related on Intel® platforms.
5960 Discussions

[Dynamic batch size] Model Resnet50 set dynamic batch size failed!

ke__xu
Novice
372 Views

Hello Sir,

 My Env: Win10, Intel CPU i7(8750H), SDK 2019 R2

 It it run OK for fixed batch size = 2;

 But When it is set to be dynamic batch size, It print failed at run:

   "executable_network = core.LoadNetwork(network, dyn_config);"

 Error log:

   "MKLDNNGraph::CreateGraph: such topology cannot be complied for dynamic batch! Error"

 My Question: Is it not support dynamic batch for Resnet50 model ?

Best Regards,

Ke

 

0 Kudos
1 Solution
Shubha_R_Intel
Employee
372 Views

Dear ke, xu,

As the Dynamic Batching Doc says, Dynamic Batching supports only some layers.  My guess is that Resnet50 has some unsupported layers.

Hope it helps,

Thanks,

Shubha

View solution in original post

5 Replies
ke__xu
Novice
372 Views

More info:

Log is same with "Dynamic Batching with Face Detection Model"

https://software.intel.com/en-us/forums/computer-vision/topic/808634

 

Shubha_R_Intel
Employee
373 Views

Dear ke, xu,

As the Dynamic Batching Doc says, Dynamic Batching supports only some layers.  My guess is that Resnet50 has some unsupported layers.

Hope it helps,

Thanks,

Shubha

ke__xu
Novice
372 Views

Dear Shubha,

 Thank you very much!

Shubha_R_Intel
Employee
372 Views

Dear Dear ke, xu,

Of course ! 

Glad to help.

Thanks,

Shubha

Prof_Joshua_Smith
364 Views

@Shubha_R_Intel Hi,

I couldn't any models supporting dynamic batch sizing, even the example scenario given in the docs doesn't seem working. Is there any possible way we can solve this issue?? It'd great if you could write back.

Reply