Skip to content

Build Errors and Improper Inference for Patch-Based Inference #102

@goats-9

Description

@goats-9

I am trying to run the inference tutorial on STM32Cube IDE 1.5.0 as documented in the repo. However, on generating code using the script examples/vww_patchbased.py and moving the generated folder codegen to the inference project folder tutorial/TinyEngine_vww_tutorial/Src/TinyEngine, the following errors are seen in the IDE.

Description	Resource	Path	Location	Type
make: *** [makefile:88: TTE_demo_mcunet.elf] Error 1	TTE_demo_mcunet		 	C/C++ Problem
more undefined references to `arm_nn_requantize' follow	depthwise_kernel3x3_stride2_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 139	C/C++ Problem
undefined reference to `arm_nn_mat_mult_kernel_s8_s16_reordered'	convolve_1x1_s8.c	/TTE_demo_mcunet/Src/TinyEngine/src/kernels/int_forward_op	line 69	C/C++ Problem
undefined reference to `arm_nn_requantize'	depthwise_kernel3x3_stride1_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 110	C/C++ Problem
undefined reference to `arm_nn_requantize'	depthwise_kernel3x3_stride1_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 116	C/C++ Problem
undefined reference to `arm_nn_requantize'	depthwise_kernel3x3_stride1_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 139	C/C++ Problem
undefined reference to `arm_nn_requantize'	depthwise_kernel3x3_stride2_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 110	C/C++ Problem
undefined reference to `arm_nn_requantize'	depthwise_kernel3x3_stride2_inplace_CHW.c	/TTE_demo_mcunet/Src/TinyEngine/codegen/Source	line 116	C/C++ Problem

IDE console output is below.

image

Do let me know if any other data is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions