Comments (10)
Hi @zxros10
Could you please share the model ? Is it an .onnx
file?
from armnn.
The attach is the test model I construct for this case. you can download and change filename .jpg to .onnx
from armnn.
Hi @zxros10
That Gather operator is actually a GatherND (it has both axis and batch_dims) but the Onnx Parser doesn't support GatherND so it's interpreting it as a Gather operator and so it's calculating the Output shape incorrectly. I'll see if we can add support for GatherND to the Onnx Parser.
Best regards,
Mike
from armnn.
Thanks
I think this is not only problem of armnn onnx parser. I convert this onnx model to tflite, and run in armnn gpu, and has this error.
from armnn.
I have to resolve this problem in my project. The input model is tflite, and execute ExecuteNetwork with parameter --tflite-executor parser.
Please give me some suggestion for modify the armnn code. Thanks
from armnn.
Hi. The link for gather_dim_test above is broken for me. Can you please repost this file and provide the exact ExecuteNetwork line you are using? Thanks.
from armnn.
gather_dim_test.zip
This is the test model
from armnn.
I ran the test with a very current version of Arm NN: ./ExecuteNetwork --compute GpuAcc --model-path ./gather_dim_test.onnx --tflite-executor parser
I am getting the following error: Fatal: Unsupported operation Slice for node 'Slice_13' at function LoadGraph
This thread has been about Gather so wondering if Slice is now the issue you are asking about? Thanks.
from armnn.
Hi. Can you please close this issue and re-open another one with the right .tflite file and command line to reproduce? The zip file provided 5 days ago had only the .onnx model which has additional issues in the parsing. Thanks.
from armnn.
Ok, I will re-open another one and provide the models
from armnn.
Related Issues (20)
- Another error on another model and by now it's two out of three :( HOT 22
- Unsupported Operation "Transpose" in armNN::OnnxParser while loading the onnx model file (in the goal to run inference) HOT 8
- Build Issues -Werrors on armbian 24 HOT 1
- nvalid attempt to construct ConstTensor from non-constant TensorInfo HOT 1
- Profiler service warnings seen in ArmNN v24.02 HOT 4
- Does ExecuteNetwork support "GpuAcc" runtime ? HOT 12
- Running YOLOv5 ONNX model with onnx parser of armnn fails with unsupported operation HOT 2
- Crash when support ArmNN AIDL backend based on a shim over the NNAPI Support Library
- Crash when support ArmNN AIDL backend based on a shim over the NNAPI Support Library HOT 2
- Unitests failed HOT 3
- understanding the onnx parser HOT 2
- Whisper tflite doesn't work HOT 4
- Error compiling `OnnxMnist-Armnn.cpp` HOT 2
- How to set priority of the application running on GPU? HOT 2
- Onnx Parser: Function AddConvLayerWithDepthwiseConv with bias has logical error HOT 1
- memory alignment HOT 1
- Build-tool failure due to unaddressed -Werror=conversion HOT 3
- Arm NN Build Tool does not support 32-bit ARM v7 HOT 1
- UnidirectionalSequenceLSTMLayer's inferShape is wrong written! HOT 1
- `clGetEventProfileInfo` raises error in `ClConvolution2dWorkload` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armnn.