- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there an example to run dynamic batch sizing in python with the 2019_r2 openvino sdk?
Running into issues because of the shape of the inputs:
ValueError: could not broadcast input array from shape (2,3,227,227) into shape (1,3,227,227)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Lechatellier, Brice,
You are correct - there is no Dynamic Batching Python Sample at this time.
Below is a document that teaches you how to do Dynamic Batching in C++ (sample code is provided).
http://docs.openvinotoolkit.org/latest/_docs_IE_DG_DynamicBatching.html
It should be fairly straightforward to convert to Python, but I guess it isn't ? I think the key is understanding get_config and set_config.
Please take a look at the Inference Engine Python Doc where get_config and set_config are discussed.
Did you already take a look at these resources ?
Let me know,
Thanks,
Shubha

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page