Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6454 Discussions

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

ke__xu
Novice
1,060 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
1,060 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

0 Kudos
5 Replies
ke__xu
Novice
1,060 Views

More info:

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

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

 

0 Kudos
Shubha_R_Intel
Employee
1,061 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

0 Kudos
ke__xu
Novice
1,060 Views

Dear Shubha,

 Thank you very much!

0 Kudos
Shubha_R_Intel
Employee
1,060 Views

Dear Dear ke, xu,

Of course ! 

Glad to help.

Thanks,

Shubha

0 Kudos
Prof_Joshua_Smith
1,052 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.

0 Kudos
Reply