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
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
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 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.
@@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😢
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?
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?
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??
Thank you so much!!! I am trying to use CubeAI for my Graduation Project, and your amazing video help me a lot !!! Thanks again!!!
That's a really cool microcontroller. It's a great time to be learning electronics :D
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`
I can't find the code that you mentioned you provided in the description? Can I ask for it?
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
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
Is there a video explaining how to set up the serial debugger?
Thank you, it's a great video. Is there a tutorial for systematically learning X-CUBE-AI?
I'd like to know it too!
can you make a video about face recognition
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.
me too. have you fixed the problem ?
@@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.
@@tomatosmusic2525 So you have any idea how new one works?
@@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😢
@@mohammadbasilfaruqui3503 So what to do ??
I think XCube ai tool is no longer proprietary. 1:16
great explanation btw. Thanks
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?
have you solved this issue?
I am also getting this sort of prblm
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?
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?
what do you mean ' pre-made validation program' ?
I got too many errors. Can I get a download link for the stm32 cube ide project?
Hi! Could I apply your awesome video using a STM32F103C8T6 board? (Help please)
i think F1 series does not support CubeAI
Are you turning grey?
I am always imperssed with how much things are packed in 15 minutes.
great video, thanks
Amazing!
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!
Are you referring to STM going under or AI support for the STM32's? Not entirely sure what you're referring to here
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??
Thank you so much. I am trying to use Cube AI ,and your amazing video help me a lot.
点赞