Coder Social home page Coder Social logo

Errors running compile.sh about dpu-pynq HOT 4 CLOSED

xilinx avatar xilinx commented on August 28, 2024
Errors running compile.sh

from dpu-pynq.

Comments (4)

balintbarna avatar balintbarna commented on August 28, 2024

What I found out about the caffe example, is that the target names in arch.json changed in 1.3. I've tried with different target names, but this version only compiles to .xmodel, which does not seem to be supported by dpu-pynq yet.
I am not sure about the tensorflow models.
Using v1.2 of the docker image seems to be the way to go, I could actually actually build a caffe and tf model, however the paths of the models needed to be modified in compile.sh for them.

from dpu-pynq.

Jefferson111 avatar Jefferson111 commented on August 28, 2024

What I found out about the caffe example, is that the target names in arch.json changed in 1.3. I've tried with different target names, but this version only compiles to .xmodel, which does not seem to be supported by dpu-pynq yet.
I am not sure about the tensorflow models.
Using v1.2 of the docker image seems to be the way to go, I could actually actually build a caffe and tf model, however the paths of the models needed to be modified in compile.sh for them.

Hi, may I know how did you manage to get it to work on v1.2 docker image? I'm assuming you ran this command ./docker_run.sh xilinx/vitis-ai-cpu:1.1.56 instead of ./docker_run.sh xilinx/vitis-ai-cpu:latest? I used this link to check for image.

Subsequently I tried to run ./compile.sh Ultra96 cf_inceptionv1_imagenet_224_224_3.16G but had no luck in compiling :(

I am also getting .xmodel as output for latest version. ><

from dpu-pynq.

balintbarna avatar balintbarna commented on August 28, 2024

@Jefferson111
I used the GPU image xilinx/vitis-ai:1.2.82 so I cannot speak for vitis-ai-cpu:1.1.56 but compile.sh required some modifications
There were 2 issues, one is the curly braces, the other is that each version of the models have a different folder structure.
check the branches here https://github.com/balintmaci/DPU-PYNQ
There's separate branchesfor v1.0 and v1.2 models

from dpu-pynq.

balintbarna avatar balintbarna commented on August 28, 2024

resolved by pull request #25

from dpu-pynq.

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.