Skip to main content
ramkumarkoppu
Associate III
September 29, 2019
Question

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

  • September 29, 2019
  • 3 replies
  • 1196 views

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 topic has been closed for replies.

    3 replies

    Gln
    ST Employee
    October 3, 2019

    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
    Associate III
    October 3, 2019

    Thank you.

    Aase.2
    Visitor II
    January 4, 2021

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