npm.io
0.0.1 • Published 9 years agoCLI

nfer

Licence
ISC
Version
0.0.1
Deps
2
Vulns
25
Weekly
0

nfer

the easiest way to deploy a keras model.

usage

npm install -g nfer
nfer <keras_model.h5>

# outputs: https://nfer.kep.io/models/fa291771204d3a4b4/

then POST there with a body like:

{
  input: [
    [0, 0],
    [0, 1],
    [1, 0],
    [1, 1]
  ]
}

and get a response like:

{
  output: [
    [0.000008271],
    [0.999998127],
    [0.999994382],
    [0.000001173]
  ]
}

doesn't get much simpler than that!