Comments (7)
terminate called after throwing an instance of 'armnn::ParseException'
what(): Unsupported operation Transpose for node '/Transpose' at function LoadGraph [/home/shuqinjun/arm_nn/armnn/build-tool/scripts/source/armnn/src/armnnOnnxParser/OnnxParser.cpp:966]
Aborted (core dumped)
from armnn.
Hello @tianyashu2020,
It seems you are using build-tool. Are you running the model through ExecuteNetwork? You might be able provide details how you are running the model including target backend, ArmNN SHA/branch and details about the Transpose operator that is failing in your model. Additionally, if the model is publicly available, please post a link to it here and I can attempt to reproduce it.
from armnn.
Hello @tianyashu2020,
It seems you are using build-tool. Are you running the model through ExecuteNetwork? You might be able provide details how you are running the model including target backend, ArmNN SHA/branch and details about the Transpose operator that is failing in your model. Additionally, if the model is publicly available, please post a link to it here and I can attempt to reproduce it.
hello,this is my code,I compiled the armnn so lib in my X64 platform,using ubuntu 22.04 operating system,
I just want to test my model in "armnn::Compute::CpuRef" mannaer.
the attached file is my onnx model.
tru_net_phase_32k_no_dereverb_sim.zip
from armnn.
Hello,
Thank you for your reply. Unfortunately, I am restricted in downloading user supplied models and can only interact with models that are publicly available under an appropriate license. Would the model be available somewhere? Else, if you could supply me with the operator info such as datatype etc. I can find more into why it is not supported on our side.
from armnn.
Hello @tianyashu2020,
I have investigated this issue more and discovered that Transpose support has not been added to the ONNX parser. I have brought this up with the team and the work to add this support is on our radar but has not been prioritized in the near future. I can make 2 suggestions to get things running on your side:
- Convert the onnx model to tflite and run through our tflite parser or delegate.
- If you want to try to add support for Tanspose to the ONNX parser we do welcome contributions. For more information on contributing to ArmNN please see the Contributing page on the MLPlatform.org website, or see the Contributor Guide.
Kind Regards,
Cathal.
from armnn.
Hello again,
I just wanted to suggest you can use ONNX runtime with ACL as an option to accelerate your model also. See here: https://onnxruntime.ai/docs/execution-providers/community-maintained/ACL-ExecutionProvider.html.
Kind Regards,
Cathal.
from armnn.
@catcor01 problem fixed,the reason is the transpose with groups parameter in my model is not supported, I fixed the transpose operator,it worked
very thanks for you reply
from armnn.
Related Issues (20)
- Gather(ND) dim error HOT 1
- Link error on older Android devices HOT 8
- BUG: using delegate with transformer | AttributeError: 'NoneType' object has no attribute 'c_void_p' HOT 22
- About the configuration setting of externalMemoryManagementEnabled HOT 1
- The mali gpu computation capability is only used no more than 15% when inference resnet50 with ArmNN HOT 1
- 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 13
- 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
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.