TinyML: Getting Started with STM32 X-CUBE-AI | Digi-Key Electronics

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ม.ค. 2025

ความคิดเห็น • 40

  • @TurtleCarriesBarbershop
    @TurtleCarriesBarbershop 4 ปีที่แล้ว +2

    Thank you so much!!! I am trying to use CubeAI for my Graduation Project, and your amazing video help me a lot !!! Thanks again!!!

  • @Electronzap
    @Electronzap 4 ปีที่แล้ว +3

    That's a really cool microcontroller. It's a great time to be learning electronics :D

  • @eduardojreis
    @eduardojreis ปีที่แล้ว

    6:58 - What is this pre-made validation program showed earlier? I got a bit lost.
    8:23 - Coding with the model in `main.c`

  • @sailfromsurigao
    @sailfromsurigao 3 ปีที่แล้ว +4

    I can't find the code that you mentioned you provided in the description? Can I ask for it?

  • @rickpandey8963
    @rickpandey8963 3 ปีที่แล้ว +2

    I also got into an infinite loop while debugging. I checked whats going on. I found it is due to the for loop structure that causes problem. In the for loop condition you are writing "AI_SINE_MODEL_1_SIZE" and its value is a positive integer. For loop will go into an infinite loop if the condition is just an integer. I just replaced it by a condition lets say "i

  • @apoorvsinghnegi6729
    @apoorvsinghnegi6729 3 ปีที่แล้ว +3

    did anyone faded issue of "TOOL ERROR Didn't find op for built-in opcode "FULLY_CONNECTED" for version '9' Registration failed" while validating the model

  • @ZebroLebro
    @ZebroLebro 3 ปีที่แล้ว +1

    Is there a video explaining how to set up the serial debugger?

  • @苏峰雷-t5d
    @苏峰雷-t5d หลายเดือนก่อน

    Thank you, it's a great video. Is there a tutorial for systematically learning X-CUBE-AI?

    • @rbclima
      @rbclima 29 วันที่ผ่านมา

      I'd like to know it too!

  • @farouktilaoui7489
    @farouktilaoui7489 3 ปีที่แล้ว +2

    can you make a video about face recognition

  • @tomatosmusic2525
    @tomatosmusic2525 2 ปีที่แล้ว +2

    Hey there!
    I'm having an "invalid initializer error" on my sine_model.h code. It says the error is here, but I don't understand what's wrong.
    The error is both here:
    AI_DEPRECATED
    #define AI_SINE_MODEL_IN \
    ai_sine_model_inputs_get(AI_HANDLE_NULL, NULL)
    And here:
    AI_DEPRECATED
    #define AI_SINE_MODEL_OUT \
    ai_sine_model_outputs_get(AI_HANDLE_NULL, NULL)
    It was a code generated by the X-Cube-AI so I don't understand what's happening.

    • @nassimrami4651
      @nassimrami4651 2 ปีที่แล้ว

      me too. have you fixed the problem ?

    • @tomatosmusic2525
      @tomatosmusic2525 2 ปีที่แล้ว +2

      @@nassimrami4651 Hi, Nassim. I think it's because you're using a new version of X-Cube-AI. Try installing the same version he uses in the video and it'll work. I think version 7.0+ changed the way inputs and outputs are generated.

    • @027_lakshaynegi6
      @027_lakshaynegi6 2 ปีที่แล้ว

      @@tomatosmusic2525 So you have any idea how new one works?

    • @mohammadbasilfaruqui3503
      @mohammadbasilfaruqui3503 ปีที่แล้ว

      ​@@tomatosmusic2525 You can't use previous version of library with the latest STMCubeMX firmware, and there's no way to use the previous version of firmware😢

    • @amiraaouadi7657
      @amiraaouadi7657 ปีที่แล้ว

      @@mohammadbasilfaruqui3503 So what to do ??

  • @unhandledexception5988
    @unhandledexception5988 ปีที่แล้ว

    I think XCube ai tool is no longer proprietary. 1:16
    great explanation btw. Thanks

  • @augustoinafuco5260
    @augustoinafuco5260 16 วันที่ผ่านมา

    Hi, I'm having the same issue reported before by another viewer (nbatch = 0).
    I noticed that in the video there is this step:
    ```
    // Pointer to our model
    ai_handle sine_model = AI_HANDLE_NULL;
    ```
    Is this correct? Also, there is another issue. In version 9.1 there is no "ai_input[0].n_batches" or "ai_output[0].n_batches". Has anyone else faced these issues?

    • @kunjanbaraol2236
      @kunjanbaraol2236 13 วันที่ผ่านมา

      have you solved this issue?
      I am also getting this sort of prblm

  • @carlosfreitas1836
    @carlosfreitas1836 3 ปีที่แล้ว

    Very nice!!!!! I'm changing this code for STM32F4Discovery, but I have doubt, How to adapt this code for 3 inputs and 1 output? Thank you?

  • @poneetrahul
    @poneetrahul 3 ปีที่แล้ว

    This video looks like it took a lot of work to put together. I have a question about MVC: main.c looked to be written as a controller (interface between a model and the hardware), but I believe you referred to it as a model. Can you explain this to someone who would have taken some computer science courses at the college/university level?

  • @baichuan9777
    @baichuan9777 2 ปีที่แล้ว

    what do you mean ' pre-made validation program' ?

  • @blahman442
    @blahman442 3 ปีที่แล้ว

    I got too many errors. Can I get a download link for the stm32 cube ide project?

  • @POLIVERITO
    @POLIVERITO 7 หลายเดือนก่อน

    Hi! Could I apply your awesome video using a STM32F103C8T6 board? (Help please)

  • @shawntaylor9509
    @shawntaylor9509 3 ปีที่แล้ว

    Are you turning grey?

  • @ButilkaRomm
    @ButilkaRomm 3 ปีที่แล้ว

    I am always imperssed with how much things are packed in 15 minutes.

  • @petercheung63
    @petercheung63 ปีที่แล้ว

    great video, thanks

  • @adaminsanoff
    @adaminsanoff 4 ปีที่แล้ว

    Amazing!

  • @MrWATCHthisWAY
    @MrWATCHthisWAY 4 ปีที่แล้ว +1

    It’s not IF they will drop support in the future for ASTM32, but WHEN they will? Right after the money runs out! Happy Hacking!

    • @jaybee1359
      @jaybee1359 4 ปีที่แล้ว

      Are you referring to STM going under or AI support for the STM32's? Not entirely sure what you're referring to here

    • @MrWATCHthisWAY
      @MrWATCHthisWAY 4 ปีที่แล้ว +1

      Jay Bee - I was making a joke to the fact that, divisions of companies usually stop providing support when it’s no longer financially profitable to do so. When the money runs out! Sorry I was not explicit enough in my last comment and left you guessing what the hell I’m taking about??

  • @Emailing98088
    @Emailing98088 3 ปีที่แล้ว

    Thank you so much. I am trying to use Cube AI ,and your amazing video help me a lot.

  • @zgczmonkey165
    @zgczmonkey165 2 ปีที่แล้ว

    点赞