demo face recognition.py not working on maixpy ide

pls i just downloaded and flashed the face recognition model for maixpy ide into maixduino. And then i copied the demo face recognition.py code into the ide. Attached a push button to Gpio 7 as from the code. And then i clicked on the Start(Run script) button on the ide. The Lcd hardware and the Screen on the ide were capturing images but not recognizing images. And after some time the ide displays type error… I’m confused…pls can someone help. i attached pic Thanks

you need check the “serial terminal” in the bottom.
maybe you burn the wrong fireware

Thisi is what the serial terminal is saying:

Traceback (most recent call last):
  File "<stdin>", line 46, in <module>
TypeError: Can't convert  to type
MicroPython v0.4.0-103-g913682433 on 2019-11-29; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>> 

Traceback (most recent call last):
  File "<stdin>", line 8, in <module>
ValueError: [MAIXPY]kpu: load error:9
MicroPython v0.4.0-103-g913682433 on 2019-11-29; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>> 

>>> True
init i2c2
[MAIXPY]: find ov2640
True
True
41.7 fps
31.3 fps
34.1 fps
36.0 fps
37.3 fps
34.5 fps
32.7 fps
31.6 fps
30.8 fps
30.1 fps
30.9 fps
31.6 fps
32.2 fps
32.7 fps
33.3 fps
32.4 fps
31.6 fps
30.9 fps
30.4 fps
29.9 fps
30.3 fps
30.7 fps
31.1 fps
31.5 fps
31.8 fps
32.1 fps
31.7 fps
31.3 fps
30.9 fps
30.6 fps
30.3 fps
30.6 fps
30.9 fps
31.1 fps
31.4 fps
31.6 fps
31.8 fps
31.4 fps
31.1 fps
30.8 fps
30.5 fps
30.3 fps
30.5 fps
30.7 fps
30.9 fps
31.1 fps
31.2 fps
31.4 fps
31.6 fps
31.3 fps
31.1 fps
30.8 fps
30.6 fps
30.4 fps
30.2 fps
30.3 fps
30.5 fps
30.6 fps
30.8 fps
30.9 fps
30.8 fps
30.7 fps
25.0 fps
25.0 fps
25.0 fps
25.0 fps
27.2 fps
28.8 fps
30.3 fps
31.4 fps
32.3 fps
31.3 fps
30.6 fps
31.3 fps
31.9 fps
32.5 fps
33.0 fps
32.4 fps
31.8 fps
32.2 fps
32.6 fps
32.9 fps
33.3 fps
33.7 fps
34.0 fps
34.3 fps
34.6 fps
34.1 fps
33.6 fps
33.3 fps
32.9 fps
32.5 fps
32.8 fps
33.0 fps
33.2 fps
33.5 fps
33.7 fps
33.9 fps
34.1 fps
33.7 fps
33.4 fps
33.2 fps
32.9 fps
32.7 fps
32.8 fps
33.0 fps
33.1 fps
33.3 fps
33.4 fps
33.6 fps
33.7 fps
33.5 fps
33.3 fps
33.1 fps
32.9 fps
32.7 fps
32.5 fps
32.7 fps
32.8 fps
32.9 fps
33.1 fps
33.2 fps
33.3 fps
33.1 fps
33.0 fps
32.8 fps
32.7 fps
32.5 fps
25.0 fps
25.0 fps
24.8 fps
24.8 fps
27.2 fps
29.0 fps
30.4 fps
31.6 fps
32.6 fps
33.3 fps
34.0 fps
33.0 fps
32.3 fps
31.7 fps
31.1 fps
30.7 fps
30.2 fps
30.7 fps
31.2 fps
31.6 fps
32.1 fps
31.7 fps
31.3 fps
31.6 fps
32.0 fps
32.3 fps
32.6 fps
32.9 fps
33.1 fps
33.4 fps
33.0 fps
33.3 fps
33.5 fps
33.7 fps
33.8 fps
33.5 fps
33.2 fps
33.4 fps
33.6 fps
33.7 fps
33.9 fps
34.1 fps
34.2 fps
34.4 fps
34.5 fps
34.2 fps
34.0 fps
33.7 fps
33.5 fps
33.3 fps
33.4 fps
33.5 fps
33.7 fps
33.8 fps
33.9 fps
34.0 fps
34.2 fps
34.0 fps
33.8 fps
33.6 fps
33.4 fps
33.2 fps
33.3 fps
33.4 fps
33.5 fps
33.6 fps
33.7 fps
33.8 fps
41.7 fps
30.8 fps
28.6 fps
27.6 fps
27.0 fps
26.7 fps
28.2 fps
29.5 fps
30.6 fps
31.5 fps
32.4 fps
33.0 fps
33.6 fps
32.8 fps
32.1 fps
31.7 fps
31.2 fps
30.8 fps
30.4 fps
30.8 fps
31.3 fps
31.7 fps
32.0 fps
31.7 fps
31.3 fps
31.7 fps
32.0 fps
32.3 fps
32.6 fps
32.8 fps
33.1 fps
33.3 fps
33.0 fps
32.7 fps
32.4 fps
32.2 fps
32.0 fps
31.7 fps
31.9 fps
32.1 fps
32.3 fps
32.5 fps
32.3 fps
32.1 fps
32.2 fps
32.4 fps
32.5 fps
32.7 fps
32.9 fps
33.0 fps
33.2 fps
33.0 fps
33.1 fps
33.2 fps
33.4 fps
33.5 fps
33.6 fps
33.7 fps
33.8 fps
33.7 fps
33.8 fps
33.6 fps
33.4 fps
33.2 fps
33.1 fps
32.9 fps
25.0 fps
31.7 fps
34.5 fps
36.0 fps
37.0 fps
34.3 fps
32.4 fps
33.5 fps
34.2 fps
34.8 fps
35.4 fps
35.9 fps
36.3 fps
36.7 fps
37.0 fps
37.4 fps
36.4 fps
35.5 fps
34.7 fps
35.0 fps
35.2 fps
35.5 fps
35.8 fps
36.0 fps
35.4 fps
34.8 fps
34.3 fps
34.5 fps
34.7 fps
34.9 fps
34.5 fps
34.1 fps
33.7 fps
33.9 fps
34.1 fps
34.3 fps
34.5 fps
34.6 fps
34.8 fps
35.0 fps
34.6 fps
34.3 fps
34.5 fps
34.6 fps
34.8 fps
34.9 fps
35.0 fps
35.2 fps
35.3 fps
35.4 fps
35.1 fps
34.9 fps
34.6 fps
34.4 fps
34.1 fps
34.3 fps
34.4 fps
34.5 fps
34.6 fps
34.7 fps
34.8 fps
34.9 fps
34.7 fps
34.5 fps
34.3 fps
34.1 fps
33.9 fps
34.0 fps
43.5 fps
43.5 fps
42.9 fps
43.0 fps
43.1 fps
42.9 fps
38.7 fps
36.2 fps
34.5 fps
33.2 fps
32.3 fps
33.0 fps
33.6 fps
34.1 fps
34.6 fps
35.1 fps
35.4 fps
35.7 fps
34.9 fps
34.2 fps
33.7 fps
34.0 fps
33.5 fps
33.1 fps
32.7 fps
32.3 fps
32.0 fps
32.3 fps
32.5 fps
32.8 fps
33.0 fps
33.2 fps
33.5 fps
33.7 fps
33.3 fps
33.1 fps
32.8 fps
32.5 fps
32.3 fps
32.4 fps
32.6 fps
32.8 fps
33.0 fps
33.2 fps
33.3 fps
33.1 fps
32.9 fps
32.7 fps
32.5 fps
32.3 fps
32.1 fps
32.2 fps
32.4 fps
32.5 fps
32.7 fps
32.8 fps
32.9 fps
32.8 fps
32.6 fps
32.5 fps
32.3 fps
32.2 fps
32.0 fps
32.1 fps
32.2 fps
41.7 fps
42.6 fps
34.5 fps
31.5 fps
33.1 fps
34.3 fps
35.4 fps
36.2 fps
36.9 fps
37.5 fps
37.8 fps
36.1 fps
34.9 fps
34.0 fps
33.3 fps
32.5 fps
32.0 fps
32.4 fps
32.9 fps
33.3 fps
33.6 fps
33.0 fps
32.6 fps
32.9 fps
33.2 fps
33.5 fps
33.8 fps
34.0 fps
34.2 fps
34.5 fps
34.7 fps
34.3 fps
33.9 fps
33.5 fps
33.2 fps
32.9 fps
33.1 fps
33.3 fps
33.4 fps
33.6 fps
33.8 fps
34.0 fps
34.1 fps
33.7 fps
33.4 fps
33.0 fps
32.8 fps
32.5 fps
32.2 fps
32.3 fps
32.5 fps
32.6 fps
32.8 fps
32.9 fps
32.6 fps
32.3 fps
32.0 fps
31.8 fps
31.6 fps
31.3 fps
31.5 fps
31.6 fps
31.7 fps
31.9 fps
41.7 fps
30.3 fps
28.0 fps
30.5 fps
32.3 fps
33.7 fps
34.7 fps
35.6 fps
36.3 fps
34.4 fps
33.0 fps
32.1 fps
31.3 fps
30.6 fps
30.0 fps
29.6 fps
30.1 fps
29.6 fps
29.0 fps
28.5 fps
28.1 fps
27.7 fps
28.1 fps
28.5 fps
28.9 fps
29.2 fps
29.6 fps
29.9 fps
29.5 fps
29.2 fps
28.8 fps
28.5 fps
28.2 fps
28.5 fps
28.8 fps
29.0 fps
28.8 fps
28.5 fps
28.3 fps
28.1 fps
27.9 fps
28.1 fps
28.4 fps
28.6 fps
28.8 fps
29.0 fps
28.8 fps
28.7 fps
28.9 fps
29.1 fps
29.2 fps
29.4 fps
29.3 fps
29.2 fps
29.4 fps
29.6 fps
29.7 fps
29.9 fps
30.0 fps
30.2 fps
30.3 fps
43.5 fps
31.7 fps
28.8 fps
28.0 fps
27.3 fps
26.9 fps
28.3 fps
29.6 fps
30.6 fps
31.4 fps
32.3 fps
33.0 fps
32.2 fps
31.5 fps
31.0 fps
30.5 fps
30.1 fps
29.8 fps
30.3 fps
30.8 fps
31.2 fps
31.6 fps
32.0 fps
32.3 fps
32.6 fps
32.3 fps
32.0 fps
31.7 fps
31.4 fps
31.1 fps
30.8 fps
31.1 fps
31.4 fps
31.6 fps
31.9 fps
32.1 fps
32.3 fps
32.0 fps
31.8 fps
31.6 fps
31.4 fps
31.3 fps
31.1 fps
31.3 fps
31.4 fps
31.6 fps
31.8 fps
31.6 fps
31.5 fps
31.6 fps
31.8 fps
31.9 fps
32.1 fps
32.2 fps
32.4 fps
32.5 fps
32.6 fps
32.5 fps
32.3 fps
32.2 fps
32.0 fps
31.9 fps
32.0 fps
32.1 fps
32.3 fps
41.7 fps
31.3 fps
28.6 fps
31.3 fps
32.9 fps
34.1 fps
35.0 fps
35.9 fps
36.4 fps
37.0 fps
37.4 fps
35.9 fps
34.8 fps
33.9 fps
33.1 fps
32.5 fps
32.9 fps
33.3 fps
33.7 fps
34.0 fps
34.3 fps
34.6 fps
35.0 fps
34.4 fps
33.9 fps
33.4 fps
33.0 fps
32.6 fps
32.3 fps
32.5 fps
32.8 fps
33.0 fps
33.2 fps
32.9 fps
33.1 fps
33.3 fps
33.5 fps
33.7 fps
33.8 fps
34.0 fps
34.2 fps
34.4 fps
34.5 fps
34.7 fps
34.8 fps
35.0 fps
34.6 fps
34.4 fps
34.1 fps
33.9 fps
33.6 fps
33.4 fps
33.5 fps
33.7 fps
33.8 fps
33.9 fps
33.7 fps
33.5 fps
33.6 fps
33.8 fps
33.9 fps
34.0 fps
34.1 fps
34.2 fps
34.0 fps
33.8 fps
33.9 fps
33.8 fps
25.0 fps
25.0 fps
25.0 fps
25.0 fps
27.2 fps
29.0 fps
30.4 fps
31.6 fps
30.7 fps
30.0 fps
30.9 fps
31.6 fps
32.2 fps
32.8 fps
33.3 fps
33.8 fps
34.1 fps
33.5 fps
32.9 fps
32.4 fps
32.0 fps
32.4 fps
32.7 fps
33.0 fps
32.6 fps
32.3 fps
31.9 fps
31.6 fps
31.9 fps
32.1 fps
32.4 fps
32.6 fps
32.8 fps
33.0 fps
33.2 fps
32.9 fps
32.6 fps
32.8 fps
33.0 fps
33.2 fps
33.4 fps
33.5 fps
33.7 fps
33.5 fps
33.2 fps
33.0 fps
32.8 fps
32.5 fps
32.4 fps
32.2 fps
32.0 fps
31.8 fps
31.7 fps
31.8 fps
32.0 fps
32.1 fps
32.3 fps
32.1 fps
31.9 fps
32.1 fps
32.2 fps
32.3 fps
32.2 fps
32.0 fps
31.9 fps
43.5 fps
42.6 fps
42.3 fps
42.6 fps
42.7 fps
42.9 fps
38.7 fps
36.0 fps
34.5 fps
33.3 fps
32.3 fps
31.5 fps
32.2 fps
32.8 fps
33.3 fps
33.7 fps
32.9 fps
32.3 fps
32.8 fps
33.2 fps
33.5 fps
33.8 fps
34.1 fps
34.4 fps
34.6 fps
34.1 fps
34.4 fps
34.6 fps
34.8 fps
35.0 fps
34.6 fps
34.2 fps
34.4 fps
34.6 fps
34.8 fps
35.0 fps
35.1 fps
35.3 fps
35.5 fps
35.1 fps
34.7 fps
34.5 fps
34.2 fps
33.9 fps
33.6 fps
33.8 fps
33.5 fps
33.3 fps
33.0 fps
33.2 fps
33.4 fps
33.5 fps
33.7 fps
33.4 fps
33.2 fps
33.4 fps
33.5 fps
33.6 fps
33.7 fps
33.8 fps
33.9 fps
34.1 fps
33.9 fps
33.7 fps
33.5 fps
33.4 fps
33.2 fps
25.0 fps
31.3 fps
34.5 fps
36.4 fps
37.3 fps
38.2 fps
38.7 fps
39.2 fps
36.7 fps
35.1 fps
33.8 fps
32.8 fps
32.0 fps
31.4 fps
32.0 fps
32.5 fps
33.0 fps
33.4 fps

Traceback (most recent call last):
  File "<stdin>", line 46, in <module>
TypeError: Can't convert  to type
MicroPython v0.4.0-103-g913682433 on 2019-11-29; Sipeed_M1 with kendryte-k210
Type "help()" for more information.
>>> 

i’m not sure of where i’m getting it wrong honestly

the version is 0.4, to old, try 0.5.
and select minium_with_ide version.
or, you can insert kpu.memtest() in the loop