Getting Started with STM32Cube.AI

  Рет қаралды 49,417

STMicroelectronics

STMicroelectronics

Күн бұрын

Пікірлер: 42
@sorrefly
@sorrefly 3 жыл бұрын
This is literally awesome. I'm using it to classify EMG response in muscular contraction for prosthesis hand
@dhruvsheth7260
@dhruvsheth7260 3 жыл бұрын
STM32 Rocks
@embedded2523
@embedded2523 Жыл бұрын
Hi,the code is successfully generated and built on cubeide,download to the board and it passed the validation on desktop.However it says fatal error Stm32f4xx_hal.h No such file or dictionary when I click the validation on target.What may lead to this happen , please help me.
@fernando.liozzi.41878
@fernando.liozzi.41878 4 жыл бұрын
Hello thank you very much. I did a course on neural networks with keras in EDX, and I can now train, save and load my networks on an STM32F4VE, with compression 8. The verification with my data set works well. And now how do I continue? How do I send my data to the STM32 to make predictions? Thanks
@ElectroFreak2000
@ElectroFreak2000 2 жыл бұрын
There seems to be very little information on actually using the models on an STM board. You need to load the example template instead of the validation program at the start of the process and there is info in those files on functions etc. but it is very confusing.
@SonefromChina
@SonefromChina 5 жыл бұрын
very good! i was working on tensorflow and cmsis-nn convert for months, thanks for this tool , maybe it can finish my work in days
@shubhamsharmaa001
@shubhamsharmaa001 5 жыл бұрын
Let me know when you completed it successfully i need a little guidance
@stmicroelectronics
@stmicroelectronics 5 жыл бұрын
great ! thanks for the feedback.
@wuqiwang1716
@wuqiwang1716 5 жыл бұрын
@@stmicroelectronics I want to know what decide the minimum RAM, because i change the model a lot, but the minimum RAM dosn't decrease much and exceed my chip RAM size
@wuqiwang1716
@wuqiwang1716 5 жыл бұрын
@@stmicroelectronics and if there is forum or blog places for learning and exhange ideas?
@stmicroelectronics
@stmicroelectronics 5 жыл бұрын
@@wuqiwang1716 hi - we really recommend to check out community.st.com/s/topic/0TO0X0000003iUqWAI/machine-learning-ai for questions on this topic.
@AkshitSharma1824
@AkshitSharma1824 Жыл бұрын
the output of the model shows that it is running with the inputs (10,90,3,1).it is not clear from this output where these inputs came from or how they were generated.
@johnhe6833
@johnhe6833 4 жыл бұрын
Actually, I follow the step in the video and face a problem when I validate on desktop. It shows there are 12r errors.
@ttaylor9916
@ttaylor9916 4 ай бұрын
@3:10 get error "invalid network".
@fernando.liozzi.41878
@fernando.liozzi.41878 4 жыл бұрын
Hi, once I passed the verification on the microcontroller. How does the thing go? How do I enter data by usart, i2c, spi, etc. and that the neural network make the prediction? This only loads verification modules. I want prediction modules. Greetings.
@linben8110
@linben8110 4 жыл бұрын
I have the same question as yours.
@fernando.liozzi.41878
@fernando.liozzi.41878 4 жыл бұрын
@@linben8110 www.st.com/content/ccc/resource/technical/document/user_manual/group1/69/bb/ec/5d/78/16/43/ce/DM00570145/files/DM00570145.pdf/jcr:content/translations/en.DM00570145.pdf
@fernando.liozzi.41878
@fernando.liozzi.41878 4 жыл бұрын
@@linben8110 Please, see page 15, and help me understand please. Thanks and regards.
@ElectroFreak2000
@ElectroFreak2000 2 жыл бұрын
@@linben8110 Everyone wants to know the answer to this !!!!
@baichuan9777
@baichuan9777 2 жыл бұрын
How did you pass verification on the microcontroller? Did you change the pins according to your own board? How?
@POLIVERITO
@POLIVERITO 3 ай бұрын
Hi. I have a STM32F103C8T6 board. Could I do an application of IA? the easiest.... Would you mind helping me please?
@al567al
@al567al 5 жыл бұрын
Where can I get the file " har_github_test_vectors.csv" ?
@stmicroelectronics
@stmicroelectronics 5 жыл бұрын
hi - we really recommend to check out community.st.com/s/topic/0TO0X0000003iUqWAI/machine-learning-ai for questions on this topic. To try to solve your immediate issue: In the video, we extracted few vectors from Shanahwax's HAR-CNN-Keras/testData.npy into a .csv file. Please find attached the test .csv file I used. Only 12 out the full 4956 sample vectors were considered. If you want to test the full test dataset, you can use the following python commands to convert testData.npy into a .csv file that can be used with X-CUBE-AI: >>> test_x = np.load('testData.npy') >>> test_x.shape (4956, 90, 3, 1) >>> test_x = test_x.reshape(4956, 90*3) >>> test_x.shape (4956, 270) >>> np.savetxt("testData.csv", test_x, delimiter=",")
@sailfromsurigao
@sailfromsurigao 4 жыл бұрын
Does this mean that STM32Cube.AI can be used on most STM32 MCU's for Image Processing, including STM32F407?
@stmicroelectronics
@stmicroelectronics 3 жыл бұрын
Hello! Visit our online community to find answers to your technical questions and share ideas with our developers and ST experts : community.st.com
@TheS1l3ntOne
@TheS1l3ntOne 4 жыл бұрын
What mcu family is best for autopilot for drones
@sammertens0007
@sammertens0007 4 жыл бұрын
Hi, I have a STM32L053. Is it not compatible ?
@coolchriss
@coolchriss 4 ай бұрын
regarding the explanation you need an MCU with 1MB flash memory at least. you need to mention the rest of the MCU part number to decide whether is compatible or not
@linben8110
@linben8110 4 жыл бұрын
I follow the all instructions but get stuck on analyze step at 5:54. It shows up a "please wait" window and does nothing. The progress bar is even freezed.
@embedded2523
@embedded2523 Жыл бұрын
check out your keras version, may be too advanced?
@bhuvaneshs.k638
@bhuvaneshs.k638 4 жыл бұрын
How to collect real time data not CSV... Using SPI Interface of accelerometer
@jsonslim
@jsonslim 5 жыл бұрын
Hello! I'm trying to load Keras model but it always fails with "Invalid network" Error. What is might be wrong? I've downloaded model from link on the video
@ajayrajan8882
@ajayrajan8882 4 жыл бұрын
clone the repo using -> git clone --recursive "LINK of the REPO", then go inot the downloaded directory and "rm -rf .git", Now try. It should work
@wuqiwang1716
@wuqiwang1716 5 жыл бұрын
I creat my own model, the minimum flash is 2.83Mbytes, when i choose compression of4 or 8, it dosn't get much smaller, still around 2.6Mbytes
@karan_rathore
@karan_rathore 5 жыл бұрын
This is bug in STM32CubeMX. After compressing by 4, the size of model will be around 770kb but updated sometimes. you can find that compatible boards will appear in the list. Choose your board and start the project
@karan_rathore
@karan_rathore 5 жыл бұрын
I am following this video this, i have successfully generated the code, validate it on desktop, build the code and flash using Truestudio it into STM32L476RB board. But when I try to validate it om my board it gives me error : board not found or invalid firmware or restart the board I have also tried using different USART port, but no success. I have aslo flash the code using CubeProgrammer. but still same error on validating. CubeMX is able locate the port on which board is present but gives same error
@stmicroelectronics
@stmicroelectronics 5 жыл бұрын
hi! for detailed technical questions we recommend that you go to the community at community.st.com/s/topic/0TO0X0000003iUqWAI/machine-learning-ai
@jujumen
@jujumen 5 жыл бұрын
i have the same issue. Any solution yet?
@sindujatenth
@sindujatenth 5 жыл бұрын
I have the same issue
@ajayrajan8882
@ajayrajan8882 4 жыл бұрын
@@johnnycashftw Seems like the firmware of your board is outdated. Please download ST-LINK utility and upgrade the firmware to the latest version. Then try.
STM32Cube.AI Edge AI demo with Lenord + Bauer (electronica 2018)
5:29
STMicroelectronics
Рет қаралды 9 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 935 М.
Getting started with STM32CubeMX
9:20
STMicroelectronics
Рет қаралды 158 М.
This MacBook was really really really really dirty #413
36:27
Adamant IT
Рет қаралды 10 М.
STM32 DMA and FreeRTOS Tutorial - Phil's Lab #14
29:10
Phil’s Lab
Рет қаралды 115 М.
But what is a neural network? | Chapter 1, Deep learning
18:40
3Blue1Brown
Рет қаралды 17 МЛН
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 71 М.