doonny / PipeCNN

An OpenCL-based FPGA Accelerator for Convolutional Neural Networks
Apache License 2.0
1.22k stars 369 forks source link

Failed to create bn kernel on Resnet #113

Closed WenyeLiu closed 4 years ago

WenyeLiu commented 4 years ago

Hi, I have test pipecnn on the Terasic OpenVINO Starter Kit (OSK) which can run the Alexnet smoothly. While when I change the pipecnn for RESNET in hw_param.cl file, it will report the "failed to create bn kernel" message. I only change the network definition to RESNET in hw_param.cl and recompile the project. Any extra setting required for RESNET?

doonny commented 4 years ago

Please check the resource utilization in the report. There might not be enough hardware resource for the cyclone device

WenyeLiu commented 4 years ago

Thanks. I change the card to another PC and tune some hw params. Now it can run.

mahinlma commented 4 years ago

@WenyeLiu Facing same issue. Could you please share, what changes you made?

WenyeLiu commented 4 years ago

You can change the VEC_SIZE and LANE_NUM to a smaller value