Closed Manucar closed 3 years ago
Looks like we are missing an -I${TILER_BILINEAR_RESIZE_KERNEL_PATH} in the makefile @marco-fariselli
Adding that argument, fixed the error, but now it gives me:
gcc ATModel.c -g -o Gentile -I. -I${TILER_INC} -I${TILER_EMU_INC} -I${TILER_CNN_GENERATOR_PATH} -I${TILER_CNN_GENERATOR_PATH_SQ8} -I${NNTOOL_GENERATOR_PATH} -I${TILER_CNN_KERNEL_PATH} -I${TILER_CNN_KERNEL_PATH_SQ8} -I${NNTOOL_KERNELS_PATH} -I${TILER_BILINEAR_RESIZE_KERNEL_PATH} ${TILER_LIB} ${TILER_CNN_GENERATOR_PATH}/CNN_Generator_Util.c ${TILER_CNN_GENERATOR_PATH_SQ8}/CNN_Generators_SQ8.c ${NNTOOL_GENERATOR_PATH}/nntool_extra_generators.c
/usr/bin/ld: /tmp/ccEuwKZv.o: in function `cae_qModel':
/home/manucar/Desktop/nntool_test/ATModel.c:33: undefined reference to `Load_RNN_SQ8_Library'
/usr/bin/ld: /home/manucar/Desktop/nntool_test/ATModel.c:34: undefined reference to `LoadResizeLibrary'
/usr/bin/ld: /home/manucar/Desktop/nntool_test/ATModel.c:77: undefined reference to `GenerateResizeNew'
collect2: error: ld returned 1 exit status
You need to use a custom template. Have a look at one of the examples that is using that. The template will include Load_RNN_SQ8_Library but it is unnecessary since you are not using RNN kernels.
Hi,
I have generated an ATModel.c ATModel.zip from my custom .tflite model cae_q.zip with the following command:
and all went fine, except when i try to compile this generated autotiler model:
Those are my enviromental variables:
I have tried the last release 3.8.1 (master ) and also the 3.8.0_dev, but both gave me the same error. The "ResizeGenerator.h" file is present in the environmental variables directories, so I have no clue why it cannot be found.
I am on a Ubuntu 20.04 machine, and i have sourced _GAPUINOV2.
If you have any suggestions please let me know.
Best regards,
Manuel