examples/mnist/web-ui
Zhenghui Wang 74378a2990 Add end2end test for Xgboost housing example (#493)
* Add e2e test for xgboost housing example

* fix typo

add ks apply

add [

modify example to trigger tests

add prediction test

add xgboost ks param

rename the job name without _

use - instead of _

libson params

rm redudent component

rename component in prow config

add ames-hoursing-env

use - for all names

use _ for params names

use xgboost_ames_accross

rename component name

shorten the name

change deploy-test command

change to xgboost-
namespace

init ks app

fix type

add confest.py

change path

change deploy command

change dep

change the query URL for seldon

add ks_app with seldon lib

update ks_app

use ks init only

rerun

change to kf-v0-4-n00 cluster

add ks_app

use ks-13

remove --namespace

use kubeflow as namespace

delete seldon deployment

simplify ks_app

retry on 503

fix typo

query 1285

move deletion after prediction

wait 10s

always retry till 10 mins

move check to retry

 fix pylint

move  clean-up to the delete template

* set up xgboost component

* check in ks component& run it directly

* change comments

* add comment on why use 'ks delete'

* add two modules to pylint whitelist

* ignore tf_operator/py

* disable pylint per line

* reorder import
2019-02-12 06:37:05 -08:00
..
MNIST_data Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
static Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
templates Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
Dockerfile Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
README.md Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
flask_server.py Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
mnist_client.py Add the web-ui for the mnist example (#473) 2019-01-14 13:56:39 -08:00
mnist_client_test.py Add end2end test for Xgboost housing example (#493) 2019-02-12 06:37:05 -08:00

README.md

web-ui

The files in this folder define a web interface that can be used to interact with a TensorFlow server

  • flask_server.py
    • main server code. Handles incoming requests, and renders HTML from template
  • mnist_client.py
    • code to interact with TensorFlow model server
    • takes in an image and server details, and returns the server's response
  • Dockerfile
    • builds a runnable container out of the files in this directory

This is not an officially supported Google product