Giter VIP home page Giter VIP logo

Comments (3)

qianglin-xlnx avatar qianglin-xlnx commented on September 12, 2024

Hi @mpv89
Yes, the tool has limitations of the inputs in vai1.0 and vai1.1, they must have 4 dimension shapes with format of ?,a,b,c.
Different dimension shapes will be supported in vai1.2.

from vitis-ai.

kavyab11 avatar kavyab11 commented on September 12, 2024

Hi, I am trying to use the vai tensorflow quantiser to quantise a custom model consisting of fully connected layers. The model has multiple input nodes whose shapes are 2 dimensional (like ?,400 : ?,100 : ?,100).

I have tried using both tensorflow and tensorflow2 quantisers.

  • vai_q_tensorflow issue: Accepts only 4 dimensional inputs
  • vai_q_tensorflow2 issue: Accepts 2 dimensional input but only accepts a single input node

I have ensured that I am using the updated versions of all tools in Vitis AI. I am using the vai1.2 version from Vitis AI 1.4. I would like to know if there is any way to quantise a model which has multiple 2-dimensional input nodes which are passed on to dense layers consisting of 2D weight matrices, like in the example mentioned above.

Thanks!

from vitis-ai.

AfifaIshtiaq avatar AfifaIshtiaq commented on September 12, 2024

Hi I'm working with Tensorflow2.x. I have calibration data in form of .npz format. Each .npz file has 6 inputs for the model. The input needs concatenated in a chunk of 2 [in1,in2] [in3,in4] [in5,in6] to be given to the actual model. I'm having difficulty in understading how should I call vitis_ai_quantizer with these multiple inputs ? what will be the command and steps that i need to quatize my model.

from vitis-ai.

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.