Comments (16)
@dhm2013724 thnak you for the reply. so can u achieve 1fps with the uploaded code ? Zedboard is a beginner zynq board right ? can you use a code written in python with zynq boards ? Also would you suggest a bigger board which can be used with this code ? cause i am trying to make it work real time.
Thanks in advance!I think that if you want to achieve real-time(24FPS?) with YOLOv2-Tiny, you at least have to get the 4-bit precision and try to use the winograd fast convolutional algorithms in PYNQ or Zedboard. Off course, you can use ZC706 or ZCU102, it will be easier to achieve your goal.
not exactly 24fps, atleast above 15fps. ZC706 and ZCU102 are too expensive for me. I have a limited budget. thats why i have to go with zedboard. can you use python on zedboard with pync image on it. or did u use c to program zedboard ?
This project is about PYNQ, I have create another project about how to map YOLOv2 to Zedboard with SDK... You know. The Spring Festival has just passed, it's a long holiday. So...The project will be updated shortly.
from yolov2_xilinx_fpga.
@dhm2013724 hey btw which version of vivado did you use? free webpack version or Vivado HL Design Edition or Vivado HL System Edition?
Thanks in advance!
I ues Vivado HL System Edition 2018.2 in this project. You can also use Vivado 2017.2 or 2017.4 that I have tried. In few days, the project for mapping YOLOv2 to Zedboard will be updated. I'm drawing related module diagrams, it's very time-comsuming...
from yolov2_xilinx_fpga.
hey @dhm2013724 thank you for uploading your code. as you said this runs at a speed of 1fps on pynq ryt? do u think that it is possible to make it run on pynq real time with tiny-yolo (if you further optimize?) Also can this be run on any other xilinx board other than pynq ?
Thanks in advance !
For YOLOv2, I have reached my goal that 1 FPS, and maybe it can be further optimized to 1.5FPS in Zedboard. And for YOLOv2-Tiny, I also reached about 4 FPS with the same accelerator. I think that if you use 8-bit precision or lower data-precision, you can get real-time. Off course, if you use other optimization methods such as FFT, Winograd, maybe you can get better performance only if the source can be met. This accelerator can be run on other xilinx board, because it is written in HLS. If you can find the chip in Vivado HLS, you can easily realize it.
from yolov2_xilinx_fpga.
@dhm2013724 thnak you for the reply. so can u achieve 1fps with the uploaded code ? Zedboard is a beginner zynq board right ? can you use a code written in python with zynq boards ? Also would you suggest a bigger board which can be used with this code ? cause i am trying to make it work real time.
Thanks in advance!
from yolov2_xilinx_fpga.
@dhm2013724 if you are using 8-bit data precision, then do you have to find a set of weights which are trained to be 8-bit precision or can you use the floating point weights and convert them into 8 bit weights and activations in the code ?
from yolov2_xilinx_fpga.
@dhm2013724 if you are using 8-bit data precision, then do you have to find a set of weights which are trained to be 8-bit precision or can you use the floating point weights and convert them into 8 bit weights and activations in the code ?
Oh, I have not found the 8-bit weight. And I also tried to convert float-32 weight to fixed-8 directly, but the precision is very bad. I think that if you want to use fixed-8 precision, you need to retrain your model. Recently, I will upload the float version, new fixed-16 version, and the evaluation between different optimization methods. The whloe design flow and source code will be available in another project. I'm not very familiar with Python so that this project may update slowly...... : (
from yolov2_xilinx_fpga.
@dhm2013724 thnak you for the reply. so can u achieve 1fps with the uploaded code ? Zedboard is a beginner zynq board right ? can you use a code written in python with zynq boards ? Also would you suggest a bigger board which can be used with this code ? cause i am trying to make it work real time.
Thanks in advance!
I think that if you want to achieve real-time(24FPS?) with YOLOv2-Tiny, you at least have to get the 4-bit precision and try to use the winograd fast convolutional algorithms in PYNQ or Zedboard. Off course, you can use ZC706 or ZCU102, it will be easier to achieve your goal.
from yolov2_xilinx_fpga.
@dhm2013724 if you are using 8-bit data precision, then do you have to find a set of weights which are trained to be 8-bit precision or can you use the floating point weights and convert them into 8 bit weights and activations in the code ?
Oh, I have not found the 8-bit weight. And I also tried to convert float-32 weight to fixed-8 directly, but the precision is very bad. I think that if you want to use fixed-8 precision, you need to retrain your model. Recently, I will upload the float version, new fixed-16 version, and the evaluation between different optimization methods. The whloe design flow and source code will be available in another project. I'm not very familiar with Python so that this project may update slowly...... : (
@dhm2013724 okayy I am looking forward for your new project. If it is not in python then is it in c?
ohh so if you want to get 8 bit precision then we need to train ? train on fpga? if i am able to find a pre trained tiny yolo 8 bit weight set thats fine right ? then i do not need to train right ?
from yolov2_xilinx_fpga.
@dhm2013724 thnak you for the reply. so can u achieve 1fps with the uploaded code ? Zedboard is a beginner zynq board right ? can you use a code written in python with zynq boards ? Also would you suggest a bigger board which can be used with this code ? cause i am trying to make it work real time.
Thanks in advance!I think that if you want to achieve real-time(24FPS?) with YOLOv2-Tiny, you at least have to get the 4-bit precision and try to use the winograd fast convolutional algorithms in PYNQ or Zedboard. Off course, you can use ZC706 or ZCU102, it will be easier to achieve your goal.
not exactly 24fps, atleast above 15fps. ZC706 and ZCU102 are too expensive for me. I have a limited budget. thats why i have to go with zedboard. can you use python on zedboard with pync image on it. or did u use c to program zedboard ?
from yolov2_xilinx_fpga.
@dhm2013724
Hey thank you! Btw have you uploaded that project to github ? If so could you please provide the link?
from yolov2_xilinx_fpga.
@dhm2013724
Hey thank you! Btw have you uploaded that project to github ? If so could you please provide the link?
@dhm2013724 I meant the map YOLOv2 to Zedboard, is this project available on github? Please share the link if it is already uploaded.
Thank you so much. Your work helps alot. Really appreciate
from yolov2_xilinx_fpga.
@dhm2013724 hey btw which version of vivado did you use? free webpack version or Vivado HL Design Edition or Vivado HL System Edition?
Thanks in advance!
from yolov2_xilinx_fpga.
@dhm2013724 thanks for the reply. is the project for mapping YOLOv2 to Zedboard is also based on HLS ?
from yolov2_xilinx_fpga.
@dhm2013724 hey btw which version of vivado did you use? free webpack version or Vivado HL Design Edition or Vivado HL System Edition?
Thanks in advance!I ues Vivado HL System Edition 2018.2 in this project. You can also use Vivado 2017.2 or 2017.4 that I have tried. In few days, the project for mapping YOLOv2 to Zedboard will be updated. I'm drawing related module diagrams, it's very time-comsuming...
@dhm2013724 a quick question about Vivado HL System Edition. Do you need to have a license file for system edition, need to purchase or do educational institutes and universities get it ?
Also to to use HLS with Zedboard also we can use the same vivado system edition right ?
Thanks in advance!
from yolov2_xilinx_fpga.
@dhm2013724 Do we need SDSOC also to use hls in zedboard ?
from yolov2_xilinx_fpga.
Can this code be used on Zybo Z7 (Zynq-7000 ARM/FPGA SoC)?
from yolov2_xilinx_fpga.
Related Issues (20)
- 你好,这个能修改下变成对实时视频的检测吗 HOT 5
- 有人知道linux下使用darknet需要什么工具链吗 HOT 3
- 在执行software_version的第二步的./test时出现错误,如图所示,有人知道怎么解决吗
- 大佬我按照你的readme到HLS仿真那一步,发现仿真结果图片上一个框都没有,最后发现dets的objection值全是0,怎么解啊>< HOT 9
- HLS仿真出现错误
- 大佬们,请问最后一步跑那个图片时,为啥报错‘’段错误‘’啊 HOT 1
- xdm最后那个elf文件是在哪一步生成的啊,我怎么没有找到[哭唧唧] HOT 1
- 还想请问一下,有没有大佬实现了摄像头的连接与数据传输处理,想要交流一下 HOT 2
- .pth文件转.bin
- zcu104复现
- 关于硬件的reorg模块 HOT 3
- 关于HLS输出的IP的端口问题,端口数与图片不匹配 HOT 7
- 关于int16的Vivado Block Design连线
- 导入IP并完成连线后,implementation耗时过长的问题(int16版) HOT 1
- 关于量化为int16后生成的bin文件问题 HOT 5
- About "SDK for Zedboard" is operating on which OS, Windows or Ubuntu? HOT 1
- makefile生成的Yolov2复制到SD卡,在板子上./Yolov2运行之后,运行到Layer[ 0]就停止了,请问是什么原因呢? HOT 8
- 更换权重后图像识别紊乱
- 使用Zedboard,精度为int16,怎样将预测图片直接输出在屏幕上 HOT 3
- 请问:xdc约束文件是否必要?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov2_xilinx_fpga.