cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK Object detection python run error for deployment

ASR
Associate

i followed the instructions or steps listed out in below ticket 

Which software do I need to install to start with STM32N6570-DK?

Currently I am struck at this error please help me.

ASR_0-1750784388187.png

Regards,

ASR

2 REPLIES 2
Julian E.
ST Employee

Hello @ASR,

 

Can you share the yaml file used.

The error message suggests that the part about the hardware in the yaml is wrong.

 

Have a good day,

Julian


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks Julian.

I did some changes in the deployment section in yaml file. I am also attaching my file that I modified.

I commented out  #build_conf : "UVCL" now i see some progress but no luck yet. Here is my log.

*******************************************************************************************************

\stm32ai-modelzoo-services\object_detection> python stm32ai_main.py --config-path ./src/config_file_examples/ --config-name deployment_n6_ssd_mobilenet_v2_fpnlite_config.yaml

2025-06-25 10:01:31.852196: 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-06-25 10:01:31.852441: 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.

[INFO] : Running `deployment` operation mode

[INFO] : Using provided class names from dataset.class_names

[INFO] : ClearML config check

[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="../../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:  ../../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: "..\..\..\..\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  : ../../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

[returned code = 4294967295 - FAILED]

$ cwd:  None

$ args: ..\..\..\..\STEdgeAI\2.0\Utilities\windows\stedgeai.exe generate --target stm32n6 -m ../../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 --output D:\Sumanth_pjr\stm32n6-dk\stm32ai-modelzoo-services\object_detection\src\experiments_outputs\2025_06_25_10_01_35 --workspace D:\Sumanth_pjr\stm32n6-dk\stm32ai-modelzoo-services\object_detection\src\experiments_outputs\2025_06_25_10_01_35 --st-neural-art default@../application_code/object_detection/STM32N6/Model/user_neuralart.json --input-data-type uint8 --inputs-ch-position chlast

ST Edge AI Core v2.0.0-20049



PASS:   0%|          | 0/82 [00:00<?, ?it/s]





E011(ConfigurationError): Neural-Art configuration: Cannot find the Neural-Art compiler

        Add it to your PATH

        Specify a path to a Neural-Art compiler in the json file (NA_binary key in Globals)

        From a pack, it should come embedded with the pack

$ cwd:  None

$ args: ..\..\..\..\STEdgeAI\2.0\Utilities\windows\stedgeai.exe generate --target stm32n6 -m ../../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 --output D:\Sumanth_pjr\stm32n6-dk\stm32ai-modelzoo-services\object_detection\src\experiments_outputs\2025_06_25_10_01_35 --workspace D:\Sumanth_pjr\stm32n6-dk\stm32ai-modelzoo-services\object_detection\src\experiments_outputs\2025_06_25_10_01_35 --st-neural-art default@../application_code/object_detection/STM32N6/Model/user_neuralart.json --input-data-type uint8 --inputs-ch-position chlast

ST Edge AI Core v2.0.0-20049



PASS:   0%|          | 0/82 [00:00<?, ?it/s]





E011(ConfigurationError): Neural-Art configuration: Cannot find the Neural-Art compiler

        Add it to your PATH

        Specify a path to a Neural-Art compiler in the json file (NA_binary key in Globals)

        From a pack, it should come embedded with the pack

Error executing job with overrides: []

Traceback (most recent call last):