2024-07-25 01:20 AM
so im trying to create a model that distinguish different types of pasta based on an already existng model(people detection in fp ai vision) . i followed the provided guide step by step
i donwloaded the model and generated the files with x cube ai and cubeMX and mooved the files to the fp ai vision people detection project....
when i build the project the file network.c generated 110 errors and all errors are from it alone. the other files dont have a single error .and all the errors are like this type
Description Resource Path Location Type 'ai_layer_conv2d' {aka 'struct ai_layer_conv2d_'} has no member named 'in_ch_format' network.c /STM32H747I_DISCO_PersonDetect_Google_CM7/Application line 4063 C/C++ Problem
so is there any solution or guide you can help me with
2024-07-26 02:47 AM
Please see answer in this thread: https://community.st.com/t5/edge-ai/error-in-file-network-c-from-quot-how-to-use-transfer-learning/td-p/701946
2024-07-26 03:21 AM
*the other thread is from my mentor
i tried with x-cube-ai version v7.2 the errors of network.c have dissapeared and the project compiled properly . the problem now is when i run the project . its doesnt run properly . the model get stuck in 55% (name)=(whatever i putted in the place of "not person from the original file of people detection" in fp-ai-vision-app.c line 125
so is there anything else i need to do and not mentioned in the guide to make the model run properly
2024-07-26 09:53 AM
Hello,
For any new Computer Vision development on STM32, we strongly recommend to start from the application examples which are available in the STM32 AI Model Zoo.
The STM32 AI Model Zoo is available at the following link:
https://github.com/STMicroelectronics/stm32ai-modelzoo.
Thank you.
Julien.