Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpu.cpp 3 Layer Type missed! #62

Open
tosa-no-onchan opened this issue Aug 17, 2020 · 0 comments
Open

kpu.cpp 3 Layer Type missed! #62

tosa-no-onchan opened this issue Aug 17, 2020 · 0 comments

Comments

@tosa-no-onchan
Copy link

tosa-no-onchan commented Aug 17, 2020

BUG REPORT
A framework-kendryte-standalone-sdk\lib\drivers\kpu.c has 22 kind of layer type.
but framework-kendryte-freertos-sdk\lib\bsp\device\kpu.cpp has 19 kind of layer type.

KL_QUANTIZED_RESIZE_NEAREST_NEIGHBOR
KL_CHANNELWISE_DEQUANTIZE
KL_LOGISTIC
are missed!

I would like to try YOLO-V3 on freetros.
https://github.com/zhen8838/k210-yolo3

But,l get error.
assertion "!"Layer is not supported."" failed: file "C:\Users\xxx.platformio\packages\framework-kendryte-freertos-sdk\lib\bsp\device\kpu.cpp", line 1018, function: int k_kpu_driver::ai_step()
W (1001447362) SYSCALL: sys_exit called with 0x1

Could you add 3 Layer to kpu.cpp.

Build env.
Windows 10
PlarformIO IDE

platformio.ini
[env:sipeed-maix-bit-mic]
platform = kendryte210
board = sipeed-maix-bit-mic
framework = kendryte-freertos-sdk

Board
Sipeed MAix Bit with Mic

k210-yolo3 on C:\Users\xxx.platformio\packages\framework-kendryte-standalone-sdk
is no problem.

I convert k210-yolo3 stand-alone code to kendryte-freertos-sdk code.
and run.
I got error above.

Hardware

Sipeed MAix Bit with Mic

System

What system do you use?
Windows10
platformio IDE
C:\Users\nishi.platformio\packages\framework-kendryte-freertos-sdk

Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant