Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
349 Views

Problem with movidius stick (1 version) with SDK 2.0 - Exception: Status.INVALID_DATA_LENGTH

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

0 Kudos
4 Replies
idata
Community Manager
81 Views

Hi @gtr91

 

What were your input dimensions? Are you using NCSDK v1 or v2?

 

Best Regards,

 

Sahira
idata
Community Manager
81 Views

Hi @Sahira_at_Intel

 

thank you for the response.

 

Input dimensions are (60,41,2) and i'm using NCS v1 with NCSDK v2.
idata
Community Manager
81 Views

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
idata
Community Manager
81 Views

Hi @Sahira_at_Intel

 

I sent you the files you requested with private message.

 

Thank you so much

Reply