Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 953 Bytes

README.md

File metadata and controls

48 lines (35 loc) · 953 Bytes

fd_demo Build Status

A demo using the frugally-deep library (Keras in C++) with Hunter package management

Cloning Repo

git clone --recursive https://github.com/kmader/fd_demo

Generating Model as JSON

python scripts/vgg16_model.py

Compile the code

cd build/
rm -rf *; cmake ..; make

Run

$ ./main
Loading model
Loading json ... done. elapsed time: 0.862343 s
Running test 1 of 1 ... done. elapsed time: 6.398503 s
Loading, constructing, testing of ../vgg.json took 9.705420 s overall.
Speed: 6.59229
Running all zeros:
[[[[0.0003]], [[0.0006]], [[0.0001]], [[0.0001]], [[0.0012]], [[0.0003]],...

Building your own project

  • Copy the cmake starting files to a new repo

Adding submodule

cd lib
git submodule add https://github.com/Dobiasd/frugally-deep