|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| include | %!s(int64=2) %!d(string=hai) anos | |
| CMakeLists.txt | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| fomo.c | %!s(int64=2) %!d(string=hai) anos | |
| main.c | %!s(int64=2) %!d(string=hai) anos | |
model-*-final.h to this directory, rename to model_final.h, and copy model_info.h toomain.c according to your model(params can be found in report.json)python3 ../../tools/img2c.py test_img.jpg width height to generate test input image c file and copy to this directorymkdir build && cd build && cmake .. && make, then execute ./fomo if you use LinuxChange include/tm_port.h configs like TM_MAX_KCSIZE according to your model size.