Coder Social home page Coder Social logo

Comments (10)

dhm2013724 avatar dhm2013724 commented on June 17, 2024

兄弟,你visual studio版报错吗?那个不报错,这个应该也不会啊。。。

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

vs没有报错 软件代码没有问题,可能镜像的问题,我用的是vivado 2019.1

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on June 17, 2024

你确定一下SDK里面用了静态链接没有?yolov2.cfg一般没问题

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

image
是这个吗?用了

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on June 17, 2024

image
你这说明sections->front是Null啊,你确定一下yolov2.cfg存不存在,然后去看一下read_cfg函数;这边可以把filename输出来看一下
image
确定一下,make_list函数有没有跑过;会gdb的话,GDB;不会的话,加printf看看

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

image
cfg在同一级目录下,确实是有的,而且我用官方pynq2.3去执行的时候,这一步是可以通过的,同时如果没有cfg文件,这里是要报错找不到的
image

from yolov2_xilinx_fpga.

dhm2013724 avatar dhm2013724 commented on June 17, 2024

但是后面无法通过

你可以试试,用同样的cfg在vs里试试,然后比对一下read_cfg里的各部分的输出

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

image
image
image
对不起,我刚才表述有误,应该是可以看到第一个打印数值file是1621784,后面第二个打印数值n值为0,说明文件读入但是输出是0,应该是中间这一小段代码出现了问题

from yolov2_xilinx_fpga.

ning11111 avatar ning11111 commented on June 17, 2024

感谢您的指点,发生了一个很奇怪的现象就是这个cfg文件点进去看起来和正常的一样,但是文件大小却是0,可能实我在复制的过程中出现了问题,我有重新替换一个以后,代码即可运行,感谢指点,

from yolov2_xilinx_fpga.

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.