Comments (12)
Hello @Darshcg,
Which Cube.AI version are you using (tools/stm32ai/version in the YAML file) ? Can you make a try with the version 8.1.0 ?
If the cloud computation still doesn't work could you install Cube.AI 8.1.0 locally and make a try (tools/stm32ai/on_cloud: False) ?
Guillaume
from stm32ai-modelzoo.
Hi @GRATTINSTM,
Thank you for your response!
I am using Cube.AI version = 8.1.0, with on_cloud: True.
Yeah sure, I will try installing Cube.AI 8.1.0 locally and set on_cloud: False.
Thanks!
from stm32ai-modelzoo.
Hi @GRATTINSTM,
I tried the local installation of Cube.AI 8.1.0 and then setting on_cloud: False
, then also I am facing the same issue!
building.. cm7.release
[returned code = 1 - FAILED]
flashing.. cm7.release STM32H747I-DISCO
Board programming failed: "Error: File does not exist: STM32H747I-DISCO_GettingStarted_ObjectDetection_CM7.elf"
from stm32ai-modelzoo.
Did you follow all the steps of the readme ? Could you sent the user_config.yaml file ?
from stm32ai-modelzoo.
Hi @GRATTINSTM, Yeah, I followed all the steps of readme(https://github.com/STMicroelectronics/stm32ai-modelzoo/tree/main/object_detection/deployment), below is my user_config.yaml
:
from stm32ai-modelzoo.
It seems that many fields are not correctly filled. Please copy/paste the values of each field (except the tools paths) from the readme.
from stm32ai-modelzoo.
Hi @GRATTINSTM, I put all the same for each field(except the tools paths), but still I am getting the same error. No Sure exactly.
I am also attaching the log below:
compiling.. "ssd_mobilenet_v2_fpnlite_035_192_int8_tflite" session
model_path : ['../pretrained_models/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 : 8.1.0 (x-cube-ai pack)
target : "STM32H747I-DISCO Getting Started Object Detection (STM32CubeIDE)" (stm32_cube_ide/cm7.release/stm32h7)
options : ../../stm32ai_application_code/object_detection/mempools_STM32H747I-DISCO.json
results -> RAM=578,812 IO=0:0 WEIGHTS=1,007,872 MACC=122,776,743 RT_RAM=89,604 RT_FLASH=216,626 LATENCY=0.000
[INFO]: Dispatch weights between internal and external flash to fit the large model
[INFO] : Optimized C code + Lib/Inc files generation done.
[INFO] : Building the STM32 c-project..
deploying the c-project.. "STM32H747I-DISCO Getting Started Object Detection (STM32CubeIDE)" (stm32_cube_ide/cm7.release/stm32h7)
updating.. cm7.release
-> s:copying file.. "network_config.h" to ../../stm32ai_application_code/object_detection/Application/Network/Inc/network_config.h
-> s:copying file.. "network.h" to ../../stm32ai_application_code/object_detection/Application/Network/Inc/network.h
-> s:copying file.. "network.c" to ../../stm32ai_application_code/object_detection/Application/Network/Src/network.c
-> s:copying file.. "network_data.h" to ../../stm32ai_application_code/object_detection/Application/Network/Inc/network_data.h
-> s:copying file.. "network_data.c" to ../../stm32ai_application_code/object_detection/Application/Network/Src/network_data.c
-> s:copying file.. "network_data_params.h" to ../../stm32ai_application_code/object_detection/Application/Network/Inc/network_data_params.h
-> s:copying file.. "network_data_params.c" to ../../stm32ai_application_code/object_detection/Application/Network/Src/network_data_params.c
-> s:copying file.. "network_generate_report.txt" to ../../stm32ai_application_code/object_detection/Application/Network/Src/network_generate_report.txt
-> s:removing dir.. ../../stm32ai_application_code/object_detection/Middlewares/ST/STM32_AI_Runtime/Lib
-> s:copying dir.. "Lib" to ../../stm32ai_application_code/object_detection/Middlewares/ST/STM32_AI_Runtime/Lib
-> s:removing dir.. ../../stm32ai_application_code/object_detection/Middlewares/ST/STM32_AI_Runtime/Inc
-> s:copying dir.. "Inc" to ../../stm32ai_application_code/object_detection/Middlewares/ST/STM32_AI_Runtime/Inc
-> u:copying file.. "ai_model_config.h" to ../../stm32ai_application_code/object_detection/Application/STM32H747I-DISCO/Inc/CM7/ai_model_config.h
-> updating cproject file "/home/darshan/stm32ai-modelzoo/stm32ai_application_code/object_detection/Application/STM32H747I-DISCO/STM32CubeIDE/CM7" with "NetworkRuntime810_CM7_GCC.a"
building.. cm7.release
[returned code = 1 - FAILED]
flashing.. cm7.release STM32H747I-DISCO
Board programming failed: "Error: File does not exist: STM32H747I-DISCO_GettingStarted_ObjectDetection_CM7.elf"
from stm32ai-modelzoo.
Just to mention that: I tried image classification application: and it generates: STM32H747I-DISCO_GettingStarted_ImageClassification_CM7.elf
but not getting generated for Object detection application
from stm32ai-modelzoo.
Hi @GRATTINSTM,
Seems like the issue was with Linux and STM IDE and Cube.AI version compatibility. I did the setup in windows with IDE version = 1.14.0 and Cube AI version = 8.1.0 and it works fine!
Thank you!
from stm32ai-modelzoo.
Hi @Darshcg,
I'm glad it works. We will investigate the reason why it is not working on your Linux setup.
Guillaume
from stm32ai-modelzoo.
Did you install the tools by following this Wiki?
from stm32ai-modelzoo.
Hi @GRATTINSTM,
Thank you for your response.
I actually followed the links provided in the Readme for the software requirements:
https://github.com/STMicroelectronics/stm32ai-modelzoo/blob/main/object_detection/deployment/README.md
from stm32ai-modelzoo.
Related Issues (20)
- Export onnx model error in stm.ai v8.1.0 HOT 3
- Issue with Google Colab code HOT 1
- Not able to install Tensor flow via CMD HOT 4
- Unable to run Model Zoo onto STM32L562 Board HOT 2
- command "stm32ai generate" error HOT 1
- Is it possible to use several onnx models in the board? HOT 1
- Question: Is STM32H745XIH6 micro-controller suitable for running object detection models? HOT 1
- Implementing custom post processing for different models HOT 9
- Update required for requirements.txt flie
- INTERNAL ERROR: Mismatch in input shape of gemm: (BATCH: 1, CH: 12, H: 8) x (BATCH: 1, CH: 8, H: 12) HOT 1
- B cam omv + USB Display HOT 10
- stm32CUBEIDE Fault
- Object detection - best weights never saved HOT 4
- Object detection - How to use transfer learning ? HOT 7
- Object detection - How to use a model ? HOT 5
- support the STM32F746 or not HOT 1
- Reduce inference time HOT 7
- Tensorflow version not found HOT 2
- Can quick deployment be supported by more boards? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32ai-modelzoo.