Skip to content

A very simple project to create a rest backend for serving a neural network model based on keras

Notifications You must be signed in to change notification settings

neurals-ro/keras-rest-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keras-rest-server: A simple rest implementation for loading and serving keras models


About:

This repository contains a very simple server implemented in flask which loads a a simple neural network model trained using Keras from its saved-weights and model.

In this example a very simple case of XOR is considered.

Getting started:

Clone this repository

git clone https://github.com/ansrivas/keras-rest-server.git
cd keras-rest-server
sudo pip install -r requirements.txt

Run to generate pickle files:

python createpickles.py

Run the server (defaults to http://localhost:7171)

python server.py

Send a post request to this server to test your model

python client.py

About

A very simple project to create a rest backend for serving a neural network model based on keras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%