Skip to content

shoz-f/plug_mnist_nerves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlugMnist

MNIST application implemented in Elixir with Tensorflow lite.

Platform

  • Windows MSYS2/MinGW64
  • Ubuntu on Windows Subsystem for Linux

Requirement

Following items are needed to build 'plug_mnist'. To store them under "C:/msys64/home/work".

standard packages:

  • nlohmann/json: JSON for Modern C++
  • libjpeg

extra libraries:

Before building 'plug_mnist", you have to prepare 'libtensorflow-lite.a'. To see https://qiita.com/ShozF/items/50d45b6234fa11da1a0d more detail.

Getting start

You can get the plug_mnist app to invoke following command:

mix deps
mix compile

If your 'libtensorflow-lite.a' is stored to a different directory than the default, you need to specify the root directory in the environment variable "WORK_HOME":

set WORK_HOME=C:/msys64/home/other_root
mix compile

After then, you run the app:

mix run --no-halt

and connect your browser to "http://localhost:5000"

Let's enjoy!

About

Tensorflow lite app on Nerves: MNIST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published