cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK model zoo delpoyment error

wwnsok2
Visitor
I followed the steps in the link below and then ran main.py, but I encountered the following error. I don’t know how to resolve it. I also set the BOOT0 and BOOT1 switches on the board, but I still get the same result.
 
 
(st_zoo) C:\Users\wwnso\Desktop\STM\stm32ai-modelzoo-services\object_detection\src>python stm32ai_main.py --config-path ./config_file_examples/ --config-name deployment_n6_ssd_mobilenet_v2_fpnlite_config.yaml 2025-03-14 02:35:59.704524: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2025-03-14 02:35:59.705273: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. [WARNING] The usable GPU memory is unlimited. Please consider setting the 'gpu_memory_limit' attribute in the 'general' section of your configuration file. [INFO] : Running deployment operation mode [INFO] : The random seed for this simulation is 123 INFO: Created TensorFlow Lite XNNPACK delegate for CPU. [INFO] : Generating C header file for Getting Started... [INFO] : This TFLITE model doesnt contain a post-processing layer loading model.. model_path="C:/Users/wwnso/Desktop/STM/stm32ai-modelzoo/object_detection/ssd_mobilenet_v2_fpnlite/ST_pretrainedmodel_public_dataset/coco_2017_person/ssd_mobilenet_v2_fpnlite_035_192/ssd_mobilenet_v2_fpnlite_035_192_int8.tflite" loading conf file.. "../../application_code/object_detection/STM32N6/stmaic_STM32N6570-DK.conf" config="None" "n6 release" configuration is used [INFO] : Selected board : "STM32N6570-DK Getting Started Object Detection (STM32CubeIDE)" (stm32_cube_ide/n6 release/stm32n6) [INFO] : Compiling the model and generating optimized C code + Lib/Inc files: C:/Users/wwnso/Desktop/STM/stm32ai-modelzoo/object_detection/ssd_mobilenet_v2_fpnlite/ST_pretrainedmodel_public_dataset/coco_2017_person/ssd_mobilenet_v2_fpnlite_035_192/ssd_mobilenet_v2_fpnlite_035_192_int8.tflite setting STM.AI tools.. root_dir="", req_version="" Cube AI Path: "C:\ST\STEdgeAI\2.0\Utilities\windows\stedgeai.exe". [INFO] : Offline CubeAI used; Selected tools: 10.0.0 (x-cube-ai pack) loading conf file.. "../../application_code/object_detection/STM32N6/stmaic_STM32N6570-DK.conf" config="None" "n6 release" configuration is used compiling... "ssd_mobilenet_v2_fpnlite_035_192_int8_tflite" session model_path : ['C:/Users/wwnso/Desktop/STM/stm32ai-modelzoo/object_detection/ssd_mobilenet_v2_fpnlite/ST_pretrainedmodel_public_dataset/coco_2017_person/ssd_mobilenet_v2_fpnlite_035_192/ssd_mobilenet_v2_fpnlite_035_192_int8.tflite'] tools : 10.0.0 (x-cube-ai pack) target : "STM32N6570-DK Getting Started Object Detection (STM32CubeIDE)" (stm32_cube_ide/n6 release/stm32n6) options : --st-neural-art default@../../application_code/object_detection/STM32N6/Model/user_neuralart.json --input-data-type uint8 --inputs-ch-position chlast "series" value is not coherent.. stm32n6 != stm32n6npu results -> RAM=621,048 IO=110,592:153,800 WEIGHTS=1,618,465 MACC=0 RT_RAM=1,773 RT_FLASH=632,615 LATENCY=0.000 [INFO] : Optimized C code + Lib/Inc files generation done. [INFO] : Building the STM32 c-project.. deploying the c-project.. "STM32N6570-DK Getting Started Object Detection (STM32CubeIDE)" (stm32_cube_ide/n6 release/stm32n6) updating.. n6 release -> s:copying file.. "network.c" to ....\application_code\object_detection\STM32N6\Model\network.c -> s:copying file.. "network_ecblobs.h" to ....\application_code\object_detection\STM32N6\Model\network_ecblobs.h -> s:copying file.. "network_atonbuf.xSPI2.raw" to ....\application_code\object_detection\STM32N6\Model\network_atonbuf.xSPI2.raw -> s:removing dir.. ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Lib\GCC\ARMCortexM55 -> s:copying dir.. "ARMCortexM55" to ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Lib\GCC\ARMCortexM55 -> s:removing dir.. ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Inc -> s:copying dir.. "Inc" to ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Inc -> s:removing dir.. ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Npu\ll_aton -> s:copying dir.. "ll_aton" to ....\application_code\object_detection\STM32N6\Middlewares\AI_Runtime\Npu\ll_aton -> u:copying file.. "app_config.h" to ....\application_code\object_detection\STM32N6\Inc\app_config.h -> updating cproject file "C:\Users\wwnso\Desktop\STM\stm32ai-modelzoo-services\application_code\object_detection\STM32N6\STM32CubeIDE" with "NetworkRuntime1000_CM55_GCC.a" building.. n6 release flashing.. n6 release STM32N6570-DK [returned code = 1 - FAILED] Board programming failed: "ST-LINK error (DEV_CONNECT_ERR)" [INFO] deployment complete [INFO] : Please on STM32N6570-DK toggle the boot switches to the left and power cycle the board.
0 REPLIES 0