I was using NUCLEO-L476RG.
When I tried to validate on target, I can build successfully but the message below showed up.
How can I do?
I found that the rom size seemed to be too large.
Maybe it is the main reason ?
(But CubeMX didn't raise any warning)
However, the rom percentage cannot decrease,
no matter how I reduce the complexity of my density layer.
What does the percentage mean ?
Normally X-CUBE-AI checks (with a warning) before generation that the params (weights params) can fit in selected device. This seems correct in our case (.text 767832 < 1MB). Can you try to generate a stand-alone validation project? Don't use the "automatic" vaildation step.
Concerning the signification of the percentage? I suppose that you have used a floating point model and you have applied a compression faction (x4 or x8). In this case, the percentage indicates the gain of the generated param size in comparaison of the whole model w/o compression. According the log, only the weights of the dense_25 layer have been compressed. Instead to have 153,616 x 4 bytes for this layer, after compression you have 76,928 bytes (compression x8).