Code Monkey home page Code Monkey logo

Comments (7)

quentonh avatar quentonh commented on September 13, 2024

@Yuxin-Yu we have done limited testing, but yes, we can confirm that the DPUCZ IP can be implemented on a Zynq-7000 device with a minor patch to the Vitis AI Library.
vitis-ai-library.zip

from vitis-ai.

Yuxin-Yu avatar Yuxin-Yu commented on September 13, 2024

Thank you @quentonh . In addition, in order to make dpuczdx8g v4.1 compatible with zynq 7000, I have changed some related parameters, as shown in the red circles in the following two figures. Is that right?
image
image

from vitis-ai.

Yuxin-Yu avatar Yuxin-Yu commented on September 13, 2024

Also, it should be noted that I am using Vitis AI 3.0 version. Are the patch files used the same? @quentonh

from vitis-ai.

quentonh avatar quentonh commented on September 13, 2024

@Yuxin-Yu we have not internally verified the patches against Vitis AI 3.0, but the modifications to the Vitis AI Library will be very similar if not identical. The required changes result from differences in the NEON instruction set between the Cortex A53 (ZU+) and Cortex A9 (Zynq-7000). You should do compare between the modified source files in the two releases (3.5 and 3.0) to ensure that the changes apply.

With regard to integration into a hardware platform, I can send you an example. Please drop me an email to quentonh at amd.com.

from vitis-ai.

Yuxin-Yu avatar Yuxin-Yu commented on September 13, 2024

Hi @quentonh .I don't know how to send email at amd.com.If possible, you can send the example to my email : [email protected] .Thank you.

from vitis-ai.

Yuxin-Yu avatar Yuxin-Yu commented on September 13, 2024

Hello @quentonh , I successfully ran the resnet50 inference process using zynq7000, but the inference result is incorrect, as shown below:

root@debian:~/Vitis-AI/src/vai_runtime/vart_debug/softmax-runner-cpu/test/resnet_v1_50_softmax_cpu# ./run.sh ~/app/img/bellpeppe-994958.JPEG 

score[971]  =  0.301356     text: bubble,
score[616]  =  0.301356     text: knot,
score[506]  =  0.301356     text: coil, spiral, volute, whorl, helix,
score[488]  =  0.0247368    text: chain,
score[679]  =  0.0150036    text: necklace,

What could be the reason and how should I debug it?

from vitis-ai.

Yuxin-Yu avatar Yuxin-Yu commented on September 13, 2024

Problem solved, it's because my xmodel file was used incorrectly

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.