Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ke__xu
Novice
218 Views

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

Jump to solution

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
218 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
218 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
219 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

ke__xu
Novice
218 Views

Dear Shubha,

 Thank you very much!

Shubha_R_Intel
Employee
218 Views

Dear Dear ke, xu,

Of course ! 

Glad to help.

Thanks,

Shubha

210 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