Post Quantization Model Runs on iMX93 NPU, but Output is Incorrect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Post Quantization Model Runs on iMX93 NPU, but Output is Incorrect

255件の閲覧回数
Skramer
Contributor I

I am working with a custom implementation of MobileNet designed to do binary classification on sparks. After converting to tflite and quantizing it to int8, the model runs on the NPU as expected, but the output does not make sense. The model had good accuracy before quantization, but the int8 outputs seem to be totally random. After testing on some of the training data, frames that should be positive are ranging from -128 to 127, and so are frames that should have been negative. Am I misinterpreting the output, or did something go wrong while converting or quantizing the model?

0 件の賞賛
返信
5 返答(返信)

203件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Please provide the model and which BSP are you testing?

Regards

0 件の賞賛
返信

149件の閲覧回数
Skramer
Contributor I

Hello,

I have attached the model. The BSP is Linux BSP. 

Thanks

0 件の賞賛
返信

139件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Your model can run with the latest BSP, it uses GPU besides the performance it run very well, I can not see any error.

 

Regards 

0 件の賞賛
返信

137件の閲覧回数
Skramer
Contributor I

Would you mind sharing the script you used to successfully run it? Perhaps I have written my script incorrectly.

Thanks

0 件の賞賛
返信

111件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Here is attached!!

Regards

0 件の賞賛
返信