2025-07-29 12:00 AM
hi
I have validate on the STM32N6 board by onnx model in STM32MX,but i have two different output ,like this:
m_outputs_1: (10, 3)/float64, min/max=[-282.578064, 481.370483], mean/std=[-2.619613, 298.301398], output m_outputs_2: (10, 1)/float64, min/max=[0.000000, 0.000000], mean/std=[0.000000, 0.000000], node_139 c_outputs_1: (10, 1, 1, 3)/float32, min/max=[-4.547175, 5.813805], mean/std=[0.008044, 4.321293], output c_outputs_2: (10, 1, 1, 1)/float32, min/max=[0.000800, 0.000800], mean/std=[0.000800, 0.000000], node_139
the m_outputs_1 is error, and c_outputs_1 is correct,why? what can lead to this problem?
please help me ,thanks very much!!!
I have upload the report.txt and onnx model in the attach.
2025-08-13 12:22 AM
Hi @SlothGrill
Thank you for your help very much!!!
Now,I modified the config.json in the \X-CUBE-AI\10.2.0\scripts\N6_scripts like this:
{
and get the same two results by Julian E.'s five steps,like this:
By this way,I think I have validate on target successfully.
But when I go to STM32CubeMx,and click the validate on target,and check the Enabled,I still get the previous issues ,like this:
when I get the previous issues, I found that the config.json has been modified to like this:
As I have validate on target successfully by the first way(above-mentioned),
why it can generate this problem by use STM32CubeMX?
Is there any differences between two way?
Thanks!!!
I put the shell information into the attach.
2025-08-13 1:46 AM
Hello
I'm not sure to fully understand, but there is definitely a problem with your last config.json: setting "cubeide_path" to "" is not similar to fully removing the line (in the way the config file is parsed).
Setting it to "", indicates to the tool that you expect to find cubeide in your current directory, then when trying to find gdb_server in your current directory, everything fails.
So, if this is x-cube-ai who erased your config.json, then this is problematic :), but the main thing is that you now know how to perform a validation on target after editing your config file.
I don't really understand if there are still issues pending:
Thanks
Cheers.
2025-08-13 6:38 PM
Hi @SlothGrill
Thank you for your help very much!!!
The two methods are like this:
First method:
Second method:
1:go to stm32cubeMX,click the validate on target,and check the enabled,the click ok like this
The results is that I validate on target successfully by the first method,but get a problem by the second method.
I think the reason is that config.json has been modified to "cubeide_path": "".but i do not know what lead to this
phenomenon?
Thanks!
2025-08-18 1:03 AM
Hello
Agreed, it's a bug on X-Cube-AI, then, as setting the path to "" will most likely lead to buggy flow.
I guess X-Cube-AI checks if cubeide has been installed on "standard" paths (i.e. not E:), and fallback to setting the config to "" when not found.
We will post a bug for that.
Thanks.
2025-08-19 7:28 PM
2025-08-20 12:23 AM - edited 2025-08-20 12:35 AM
Hello,
X-Cube-AI gets updated when new versions of STEdgeAI are released. So there will be no available versions with a fix before any new STEdgeAI release (i.e. do not expect anything before some months...).
For now, if you really want to use X-Cube-AI, you can try to reinstall CubeIDE properly and see if it fixes the issues (eventually removing the old versions that may lie around on your PC may help). Or try to install it on standard target directories (eg. c:\ST\...)
Best regards.