Coder Social home page Coder Social logo

Comments (2)

liutongxue123 avatar liutongxue123 commented on June 21, 2024

hey @dhm2013724 ; I really appreciate your work as it is really amazing.
I am trying to implement your IP with creating a new overlay. but the issue is when i run your code in my overlay it shows some errors in the second last code in .ipynb which I dont know how to resolve it. can you please help me with that?

the issue is as follows:-

Open pictrue success!
pictrue size: (640, 424)
pictrue mode: RGB
yolov2_image copy ok

0 conv

KeyboardInterrupt Traceback (most recent call last)
in ()
6
7 img_out = frame_in
----> 8 yolo_meminout(frame_in,img_w,img_h,img_out)
9 img_out

in yolo_meminout(frame_in, img_w, img_h, frame_out)
31 region_buff = np.zeros((73008,), dtype=np.float32)
32
---> 33 yolo_fpga(img_base_buffer,region_buff)
34 end_time = time.time()
35 fpga_process_time = end_time - start_time

in yolo_fpga(img_base_buffer, region_buff)
53 mLoops,nLoops,rLoops,cLoops,0,
54 inputQ[offset_index],inputQ[offset_index+1],weightQ[offset_index],betaQ[offset_index],
---> 55 WEIGHT_BASE,BETA_BASE)
56
57

in YOLO__Init_EX(In_Address, Out_Address, Weight_offset, Beta_offset, InFM_num, OutFM_num, Kernel_size, Kernel_stride, Input_w, Input_h, Padding, IsNL, IsBN, TM, TN, TR, TC, mLoops, nLoops, rLoops, cLoops, LayerType, InputQ, OutputQ, WeightQ, BetaQ, WEIGHT_BASE, BETA_BASE)
53
54 while True:
---> 55 ap_idle = (mmio.read(XYOLO2_FPGA_CTRL_BUS_ADDR_AP_CTRL)>>2)&0x01
56 if(ap_idle):
57 break

/usr/local/lib/python3.6/dist-packages/pynq/mmio.py in read(self, offset, length)
137
138 self._debug('Reading {0} bytes from offset {1:x}',
--> 139 length, offset)
140
141 # Read data out

KeyboardInterrupt:

the last line shows keyboard interrupt which was done by me as it was taking so much time to run the code (24 min)

please help me regarding this.....
I am also modifying this code. Can I communicate with you?

from yolov2_xilinx_fpga.

chesterkyles avatar chesterkyles commented on June 21, 2024

You can't run two overlays at the same time. you need to incorporate both IPs in one overlay

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.