google / google/CFU-Playground

Adding custom ML tflite models with CFU

Open
#452 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Verilog
Stars
565
Forks
160
PR merge metrics
No merged PRs in 30d

Description

I'm not sure about the procedure to add your own custom tflite model with CFU. Does this framework support custom ML models as well?
I'm getting this issue when I attempt at adding a new model in the makefile:

/home/shivaubuntu/riscv64-unknown-elf-gcc-10.1.0-2020.08.2-x86_64-linux-ubuntu14/bin/../lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: src/models/models.o: in function `.LANCHOR0':
models.c:(.sdata.MENU+0x10): undefined reference to `no_menu'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:163: software.elf] Error 1
make[1]: Leaving directory '/home/shivaubuntu/CFU-playground/CFU-Playground/proj/proj_custom/build'
make: *** [../proj.mk:215: /home/shivaubuntu/CFU-playground/CFU-Playground/proj/proj_custom/build/software.elf] Error 2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.