cancel
Showing results for 
Search instead for 
Did you mean: 

'utf-8' codec can't decode byte 0xab in position 4: invalid start byte

Zxiao.21
Associate

hi,

When I analyze the model, I always get an error.

How should I solve it?

Thanks!

0693W00000aJO5MQAW.png

5 REPLIES 5
fauvarque.daniel
ST Employee

Have you tried opening your model with a tool like Netron ? You can have this kind of error when the file is actually not a Keras saved model

You can also open it with a text editor, the first characters in the file should be ‰HDF

If the model can be viewed with Netron maybe there is an issue with the space in the path

Regards


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks for your reply.

I checked these issues you said and they are all normal, eg, the model can be opened with Netron easily.

Whether there are any special points to pay attention to in the STM32cube configuration?

Regards

zyaol.1
Associate II

Do you solve it?

fauvarque.daniel
ST Employee

Sorry for the late answer I didn't see yours, can you share your model so we can try to reproduce the issue.

Thanks


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
zyaol.1
Associate II

this is my model.