Skip to content

faizan94/deep_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Dockerfile

This is a docker file which will create a server an opens a port for listening. It will also run a jupyter lab instance. Some required machine learning and deep learning libraries are already present in it..

Build command

docker build -t deep_server .

Run container

docker run -d -p 8888:8888 -p 7171:7171 --name deep deep_server

Open bash when container is running

docker exec -it deep bash 

To Open Jupyter in a browser

http://localhost:8888

To get the prediction out from the server

curl -H "Content-Type: application/json" -X POST -d '{"X_input":[1,0]}' http://localhost:7171/predict

Reference

https://github.com/ansrivas/keras-rest-server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages