Using API scripts, unable to get the predictions using API scripts, instead getting ERR: Failed to run DSP process (-1014)

Hi Team,

coming to the point, i was using edge impulse APIs to

  1. create impusle,
  2. configure spectral analysis,
  3. generate features,
  4. train neural networks and
  5. build and deploy model

so in the edge impulse studio model generated with 97% accuracy and live classification is also happening well. but when it deployed to the board, i was unable to get the predictions. instead getting the below:

ERR: Failed to run DSP process (-1014)
run_classifier returned: -5
Failed to run classifier

the other thing is that, when going through the above five steps with EI studio GUI, i can be able to get the predictions properly and no errors.
can anybody please help.

Hardware using: nRF9160 with Accelerometer sensor.
Regards,
Venkatesh K.

Hi @VENKATESH - you mention the APIs, but then also mention that the error is when running on device. So to clarify, when you build the model through the API and deploy to the board it errors out, but if you build in Studio and deploy to the board, it runs fine?

To me it sounds like you are having issues running the SDK on your device, and this isn’t related to the API as you’ve mentioned in the title of your post. Let me know!