GithubHelp home page GithubHelp logo

Comments (10)

morgolock avatar morgolock commented on July 22, 2024

Hi @zxros10

Could you please share the model ? Is it an .onnx file?

from armnn.

zxros10 avatar zxros10 commented on July 22, 2024

gather_dim_test
The attach is the test model I construct for this case. you can download and change filename .jpg to .onnx

from armnn.

MikeJKelly avatar MikeJKelly commented on July 22, 2024

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.

zxros10 avatar zxros10 commented on July 22, 2024

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.

zxros10 avatar zxros10 commented on July 22, 2024

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.

tracyn-arm avatar tracyn-arm commented on July 22, 2024

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.

zxros10 avatar zxros10 commented on July 22, 2024

gather_dim_test.zip
This is the test model

from armnn.

tracyn-arm avatar tracyn-arm commented on July 22, 2024

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.

tracyn-arm avatar tracyn-arm commented on July 22, 2024

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.

zxros10 avatar zxros10 commented on July 22, 2024

Ok, I will re-open another one and provide the models

from armnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.