-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I am trying to run a tflite SR model (few convolution layers & casting layer) on the MT6893 using an Android app with NeuronDelegate ,added as AAR dependency.
I declared the Neurondelegate class like this :
`public NeuronDelegate neuronDelegate;
neuronDelegate = new NeuronDelegate();
......
new Interpreter.Options().addDelegate(neuronDelegate).setNumThreads(4))
`
I get the following logs :
`
I neuron error: Neuron adapter API exists: 0
I Found interface mtk-dsp (version = ACCELERATOR_APUSYS)
I Found interface mtk-gpu (version = ACCELERATOR_APUSYS)
I Found interface mtk-mdla (version = ACCELERATOR_APUSYS)
I Found interface mtk-neuron (version = ACCELERATOR_APUSYS)
I Created TensorFlow Lite delegate for NNAPI.
Internal error: Failed to apply delegate: NN API returned error ANEURALNETWORKS_BAD_DATA at line 4483 while completing NNAPI compilation.
`
So Error here is :
- Failed to apply delegate: NN API returned error ANEURALNETWORKS_BAD_DATA at line 4483 while completing NNAPI compilation.
- I neuron error: Neuron adapter API exists: 0
What could be the error here : Is there something wrong with the declaration , if not what could be the error here. ?
Regards
Adarsh