NNgen / nngen

NNgen: A Fully-Customizable Hardware Synthesis Compiler for Deep Neural Network
Apache License 2.0
339 stars 46 forks source link

test sample building error #15

Open BOPsemi opened 4 years ago

BOPsemi commented 4 years ago

Hello,

I tried to run an example, but I got the following errors /nngen/tests/onnx_matrix_conv2d_linear/test_onnx_matrix_conv2d_linear_int32_3x3_stride1_3x3_stride1.py which is not the same as the test file we want to collect:

Could you please help me how to fix it

BOPsemi commented 4 years ago

I also tried to build some example on Docker I got the following errors

------------- errors ------------ import file mismatch: imported module 'test_onnx_matrix_conv2d_linear_int32_3x3_stride1_3x3_stride1' has this file attribute: /home/nngen/nngen/tests/onnx_matrix_conv2d_linear/test_onnx_matrix_conv2d_linear_int32_3x3_stride1_3x3_stride1.py which is not the same as the test file we want to collect: /home/nngen/nngen/tests/onnx_matrix_conv2d_transpose_linear/test_onnx_matrix_conv2d_linear_int32_3x3_stride1_3x3_stride1.py HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules

neowine commented 3 years ago

I have the same issue. Does anyone have a solution?