fpgasystems / spooNN

FPGA-based neural network inference project with an end-to-end approach (from training to implementation to deployment)
GNU Affero General Public License v3.0
261 stars 73 forks source link

void DoFire undefined variables #32

Open AminaHAMZA opened 4 years ago

AminaHAMZA commented 4 years ago

Hello,

I'am an engineering student and I tried to use your code with dog-cat available database. I finished the training but when I want to compile the C++ code using make I faced this error which I can't correct it.

halfsqueezenet_folded.cpp:200:29: error: ‘L0_Din’ was not declared in this scope CONV2D_ACT_NoP<L0_K, L0_S, L0_Din, L0_Cin, L0_Cout, L0_Ibit, L0_Wbit, L0_Mbit,

Can you please help me solve this issue ?

with regards

AminaHAMZA commented 4 years ago

I used your answers for old issues to correct the other issue but now I m facing this problem:

misc.h:188:2: error: static assertion failed: For ExpandWidth, OutStreamW mod InStreamW is not 0 static_assert( OutStreamW%InStreamW == 0, "For ExpandWidth, OutStreamW mod InStreamW is not 0" );

Can you please help me??

with regards

kaankara commented 4 years ago

As the error mentions, the output stream width has to be a multiple of input stream width. Please check why this is not the case. Do you need to use ExpandWidth in your implementation? If so, you might need to add padding to your data stream.