Skip to content

kmader/fd_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A demo of frugally deep using Hunter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published