Closed krishnak closed 4 years ago
Some more debug information for any one who care to throw their opinion In kpu.c
kpu_load_kmodel() the header->version is having a value of 1263354956
I came across this thread it talks about this version value having 1263354956, when loading new models. It appears that its a KModel version 4, clash, however I am confused as why it should appear in a nncase sample code which has no relation to MaixPy
Looks like platform io framework packages still have an old version of kpu.c, the newer version of kpu.c has the following code to handle incbin in kpu_load_kmodel() method.
else if(header->version == 'KMDL') { return nncase_load_kmodel(ctx, buffer); } else { return -1; }
The example code in this requires a different SDK than 0.5.6 released, the model init error will disappear if you download the SDK from github - the github package.json is showing SDK version as 0.5.4 - I don't know whether it is correct - most probably the file hasn't been updated.
I am trying to compile and execute the nncase fastface detect example on a Sipeed Maix Dock. I have managed to successfuly compile using st7789.c as that is the display I am having.
I have compiled the nncase example verbatim using the standalone SDK.
I have flashed the binary to the board.
I have two issues, if you can give me some hints to solve it - I would appreciate it.
This draws the image on to the LCD screen, but the image is heavily pixelated.
Is this how it is supposed to be? As I have uploaded the JPEG version of the 320x240 image to the board using another method and it was unpixelated.