Question/Issue:
After retraining the model, use CMSIS-PACK to deploy it. After installing PACK, the model_variables.h file compilation error occurs. Compared with the previous model_variables.h file, some modifications have been made.
Project ID:
725736
Reproducibility:
- Always
Environment:
- Platform: [STM32F407]
- Build Environment Details: [MDK KEIL5.36]
- OS Version: [Windows 10]
- Edge Impulse Version (Firmware): [1.72.17]
-
Project Version: [7.0.0]
Logs/Attachments:
***/edgeimpulse\model-parameters/model_variables.h(104):
.output_tensors_indices = ei_output_tensors_indices_9,
^
***/edgeimpulse\model-parameters/model_variables.h(105):
.output_tensors_size = ei_output_tensors_size_9,
^
***/edgeimpulse\model-parameters/model_variables.h(129):
&run_nn_inference,
^~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(129):
&run_nn_inference,
^~~~~~~~~~~~~~~~~
static_cast( )
**/edgeimpulse\model-parameters/model_variables.h(130):
(void)&ei_learning_block_config_9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(132):
ei_learning_block_9_inputs,
^~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(133):
ei_learning_block_9_inputs_size,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(137):
&run_kmeans_anomaly,
^~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(137):
&run_kmeans_anomaly,
^~~~~~~~~~~~~~~~~~~
static_cast( )
**/edgeimpulse\model-parameters/model_variables.h(138):
(void)&ei_learning_block_config_19,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(140):
ei_learning_block_19_inputs,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(141):
ei_learning_block_19_inputs_size,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***/edgeimpulse\model-parameters/model_variables.h(145):
const ei_fill_result_classification_i8_config_t ei_fill_result_classification_i8_config_9 = {
^
***/edgeimpulse\model-parameters/model_variables.h(154):
.type = EI_CLASSIFIER_MODE_CLASSIFICATION,
^
***/edgeimpulse\model-parameters/model_variables.h(157):
.postprocess_fn = &process_classification_i8,
^
13 errors generated.
Additional Information:
I just reinstalled the new PACK file, and the main program was not modified. Since this model_variables.h file is locked (read-only), the problem should be in the generated library file. Please tell me how to solve it, thank you!