cancel
Showing results for 
Search instead for 
Did you mean: 

python code to train the model in the STM32-Cube.AI course?

ramkumarkoppu
Senior

I was following the ST video course on Cube-AI https://www.youtube.com/watch?v=6oTkHylHssQ&list=PLnMKNibPkDnFiQd11pDFtDL2aqUZHTjto&index=5&t=0s

In this video, Can you share this code if you have it please? 

I have noe idea how to get the dataset using the example code mentioned in the video, 'import tutacousticscenes2016'

This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Gln
ST Employee

Hi @ramkumarkoppu​ ,

The code in the video can be found here: https://colab.research.google.com/drive/1lBca6J1kUTNG8MmaM_TTPV8M-5IXdy7Y . This Colab notebook goes over the different steps described in the video (Gathering and exploring data, preprocessing, model creation and trainning).

'import tutacousticscnees2016' is refering to some custom code to download the TUT Dataset. If using the Colab notebook mentioned above, the code is downloaded at the very beggining, otherwise, you can manually download the code from her: https://gist.github.com/glegrain/13276fb57007905180f5455be7a3d6cd

Regards,

Guillaume

ramkumarkoppu
Senior

Thank you.

Aase.2
Associate

Looking for the same code solution for my python project that hosted online.