sipeed / M1s_BL808_example

M1s_BL808_example
Apache License 2.0
66 stars 14 forks source link

tom_and_jerry_classification_demo demo can't work well. #23

Open dreamkeep opened 6 months ago

dreamkeep commented 6 months ago

hi , i download the tom_and_jerry_classification_demo demo to M1s ,and then show a jerry on camera, but it can't identify the jerry , the log like this:

[2024-03-29 16:28:19.497]# RECV ASCII> output shape 1x1x2 [1/2]output 0, 0.003906: [128,130] [1318] loop.. [start] fetch camera picture.. [done] fetch camera picture..

[2024-03-29 16:28:19.996]# RECV ASCII> output shape 1x1x2 [1/2]output 0, 0.003906: [126,132] [1319] loop.. [start] fetch camera picture.. [done] fetch camera picture..

[2024-03-29 16:28:20.496]# RECV ASCII> output shape 1x1x2 [1/2]output 0, 0.003906: [126,135] [1320] loop.. [start] fetch camera picture.. [done] fetch camera picture..

[2024-03-29 16:28:20.995]# RECV ASCII> output shape 1x1x2 [1/2]output 0, 0.003906: [126,137] [1321] loop.. [start] fetch camera picture.. [done] fetch camera picture..

QQ图片20240329174916

dreamkeep commented 6 months ago

how can I use Netron to BLAI model file. do we have some doc about NPU BLAI-100 and the BLAI -model .

ZoneMR commented 6 months ago

Sadly the .blai models generated from Maixhub have been broken for some time (I believe they upgraded tensorflow to use per-channel quantisation which is not supported by the blai toolchain). There does not appear to be any appetite from Sipeed nor Bouffalo to provide up-to-date tools or documentation for the NPU on the BL808, which is a shame.