dhm2013724 / xilinx_fpga_hls-mapping-neural-network-to-hardware Goto Github PK
View Code? Open in Web Editor NEWAt present, just an example to show how to map the detection algorithm YOLOv2 from model to FPGA
License: MIT License
At present, just an example to show how to map the detection algorithm YOLOv2 from model to FPGA
License: MIT License
是不是我darknet版本的问题,layer l中无法找到成员numload,你能告诉我如何解决这个问题吗
hello~
when I applied the files(weights.bin and bias.bin) to the jupyter notebook, it appeared an error:
could not broadcast input array from shape (50941792) into shape (25470896). Then I changed the shape (25470896) into shape (50941792), but it appeared another error:Failed to allocate Memory!
Can you help me?
The codes I changed are as follows:
weight_base_buffer = xlnk.cma_array(shape=(50941792,), dtype=np.uint32)
print("100M",weight_base_buffer.physical_address)
WEIGHT_BASE = weight_base_buffer.physical_address
bate_base_buffer = xlnk.cma_array(shape=(5381,), dtype=np.uint32)
print("32k",bate_base_buffer.physical_address)
BETA_BASE=bate_base_buffer.physical_address
img_base_buffer = xlnk.cma_array(shape=(4194304,), dtype=np.int32)
print("16M",img_base_buffer.physical_address)
IMG_MEM = img_base_buffer.physical_address
params_wight = np.fromfile("weights.bin", dtype=np.uint32)
np.copyto(weight_base_buffer, params_wight)
print("yolov2_weight copy ok\n")
params_bais = np.fromfile("bias.bin", dtype=np.uint32)
np.copyto(bate_base_buffer, params_bais)
print("yolov2_bais copy ok\n")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.