Coder Social home page Coder Social logo

Comments (7)

Rahn80643 avatar Rahn80643 commented on June 24, 2024 1

Hi, @zingo
Thank your for your support. We don't have anything to follow up with currently, please close this ticket.

Best Regards,
Rahn

from ethos-n-driver-stack.

mohelz01 avatar mohelz01 commented on June 24, 2024

Hi,

reason: Convolution: Overall scale (of the input* weights/ output) should be in range [2.328306e-10, 1)
Please note that the quantization scale of input, weights, and output need to satisfy the above equation

Best Regards,
Mohamed

from ethos-n-driver-stack.

Rahn80643 avatar Rahn80643 commented on June 24, 2024

Hi,
Since the int8 tflite model is converted based on (TensorFlow2 int8 calibration)[https://www.tensorflow.org/lite/performance/post_training_quantization#integer_only], and the model could successfully executed in both CpuAcc and GpuAcc backend. Is there any other step needed to be included to allow the weight values in the converted int8 tflite model satisfy the requirement of NPU?

Best Regard,
Rahn

from ethos-n-driver-stack.

mohelz01 avatar mohelz01 commented on June 24, 2024

Hi,
You mentioned your model is based on BiSeNetv2 architecture. I would like to produce the error on my environment. It would be helpful if you let me know your reproduce steps, the environment used, and if there's any model I can use that produce the same error.

Looking forward to hear from you

Best Regards,
Mohamed

from ethos-n-driver-stack.

Rahn80643 avatar Rahn80643 commented on June 24, 2024

Hi,
The attachment is the BiSeNetv2 model we used in our experiment, and the following is the information about our environment.
AMR_20211018_office1_2_3_exp7Ext1_nosoftmax_int8.tflite.tar.gz

  1. The model is tested on a ZEBU simulator with a cortex A55 CPU and a mounted ethos N78 device
  2. The version of ArmNN, Compute Library, and ethos-n driver is 21.08.
  3. Since our model contains a argmax layer which is not supported in NPU, we apply the "hint" mechanism to execute the layer on CpuACC mode, and the other layers executed on EthosACC mode.

Best Regard,
Rahn

from ethos-n-driver-stack.

mohelz01 avatar mohelz01 commented on June 24, 2024

Hi,

Please note that this is currently not supported. We are evaluating adding support for this in a future release. My colleague is looking to provide more details on the corresponding ticket opened in the support channel.

Best Regards,
Mohamed

from ethos-n-driver-stack.

zingo avatar zingo commented on June 24, 2024

Hi @Rahn80643 thanks for checking and helping out with our code!
I just want to check if you are you happy with this info for now or do you have anything you want to follow up with?
(I'm wondering if we can close this ticket for now?)

Best Regards,
Zingo

from ethos-n-driver-stack.

Related Issues (17)

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.