- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I trained a custom network with Keras. Then, with a script, I converted my keras model to tensorflow and with mvnCCompiler, I got the related graph file.
When i run the inference, with _ graph.allocate_with_fifos_ and graph.queue_inference_with_fifo_elem specifying the input tensor, I get the following error
Exception: Status.INVALID_DATA_LENGTH
E: [ 0] ncFifoWriteElem:2608 input tensor length (59040) doesnt match expected value (19680)
I made many attempts without arriving at a solution. Can you help me ?
thanks a lot
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @gtr91
What were your input dimensions? Are you using NCSDK v1 or v2?
Best Regards,
Sahira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Sahira_at_Intel
thank you for the response.
Input dimensions are (60,41,2) and i'm using NCS v1 with NCSDK v2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @gtr91
Can you please attach your Keras model, the converted .pb file, and the script you used to convert it. Also, what command + parameters did you use when compiling using mvNCCompile?
Best Regards,
Sahira
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Sahira_at_Intel
I sent you the files you requested with private message.
Thank you so much

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