dicecco1 / fpga_caffe

Other
119 stars 51 forks source link

Error when training LeNet #11

Open jingxianx opened 6 years ago

jingxianx commented 6 years ago

When I was running ./examples/mnist/train_lenet_ocl_hwcn.sh. It seems like the xclbin files cannot be found. I did copy the bitstream into .build_release/opencl/src/caffe/layers/. The error message is as follows:

ERROR: No program executable for device Aborted at 1521319025 (unix time) try "date -d @1521319025" if you are using GNU date PC: @ 0x7fd621207954 xocl::detail::event::validOrError() SIGSEGV (@0x20) received by PID 21575 (TID 0x7fd62487db00) from PID 32; stack trace: @ 0x7fd622e5c4b0 (unknown) @ 0x7fd621207954 xocl::detail::event::validOrError() @ 0x7fd62120717c clWaitForEvents @ 0x7fd624335256 caffe::OCLPoolingHWCNLayer<>::launchKernel() @ 0x7fd62433545e caffe::OCLPoolingHWCNLayer<>::Forward_ocl() @ 0x7fd6243dd35c caffe::Net<>::ForwardFromTo() @ 0x7fd6243dd707 caffe::Net<>::Forward() @ 0x7fd6244345b2 caffe::Solver<>::Test() @ 0x7fd624434f7e caffe::Solver<>::TestAll() @ 0x7fd624437607 caffe::Solver<>::Step() @ 0x7fd62443784a caffe::Solver<>::Solve() @ 0x40ada9 train() @ 0x40719e main @ 0x7fd622e47830 __libc_start_main @ 0x407a29 _start @ 0x0 (unknown)