dgschwend / zynqnet

Master Thesis "ZynqNet: An FPGA-Accelerated Embedded Convolutional Neural Network"
GNU General Public License v3.0
743 stars 297 forks source link

use modified model of zynqnet and run on CPU but segment fault. #52

Open KingOfBanana opened 6 years ago

KingOfBanana commented 6 years ago

Hi David, I want to put zynqnet on zynq 7Z030 which has less brams compared to your 7045, so I have modified your zynqnet model. I changed the output channels of some layers to reduce the conv kernels in zynqnet to reduce the requirement of bram.I ran my customed program on my PC found it has segment fault, but yours original program has no error.I just used your tools to regenerate the weights.bin, indata.bin, network.cpp and network.hpp and replaced them in original netwok. Do you think any other changes should be taken? Thanks!

dgschwend commented 6 years ago

Some people also had segmentation faults with the original ZynqNet. It usually helped when the SHARED_DRAM memory was increased. Try allocating more memory there (eg. 2x more, doesn‘t really matter).

Am 12.06.2018 um 07:12 schrieb KingOfBanana notifications@github.com:

Hi David, I want to put zynqnet on zynq 7Z030 which has less brams compared to your 7045, so I have modified your zynqnet model. I changed the output channels of some layers to reduce the conv kernels in zynqnet to reduce the requirement of bram.I ran my customed program on my PC found it has segment fault, but yours original program has no error.I just used your tools to regenerate the weights.bin, indata.bin, network.cpp and network.hpp and replaced them in original netwok. Do you think any other changes should be taken? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.