- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I convert the 3dcnn model success, but if I use this model on openvino, it says ['RuntimeError: [VPU] Convolution supports only 3D or 4D input].
The model placeholder shape is [batch, depth, height, width, channel]
If NCS2 can use this placeholder in model? and how can I do?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear lin, weicheng,
Can you convert your 5D model to a 3 or 4D model before you run it through Model Optimizer ? It should be possible to re-design your model so that it doesn't have to use 5D . A 5D model inferenced on MYRIAD would almost not be worth it - it would be very slow. This is why only 3D or 4D conv layers is supported on MYRIAD.
Thanks,
Shubha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Shubha,
I think it can't, because I use the tensorflow conv3d function, this function inputs with shape (batch, depth, height, width, channels).
I try to convert this, it errors [ Input 0 of layer conv3d_1 is incompatible with the layer: expected ndim=5, found ndim=4].
Maybe is I don't know how can I do, so can you provide a example to convert dimention.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear lin, weicheng,
The error is pretty clear.
['RuntimeError: [VPU] Convolution supports only 3D or 4D input].
Please see this tf.reshape issue . Maybe you need to flatten the Placeholder into a vector then resize it to 3D or 4D.
Hope it helps,
Thanks,
Shubha
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page