Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 652 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 652 Bytes

2020-demo-ai

Create model Image

Create a .env.dev file and set LATEST_MODEL to appropriate directory.

make build
make push
make dev //for local dev

Deployment

oc create -f https://raw.githubusercontent.com/rhdemo/2020-demo-ai/install/deployment.yml
oc new-app --template=digit-recognition-server \
    --param=APPLICATION_NAME=tf-cnn \
    --param=IMAGE_REPOSITORY=quay.io/redhatdemo/2020-digit-recognition:latest \
    --param=TF_CPP_MIN_VLOG_LEVEL=0

# oc set env dc/tf-cnn TF_CPP_MIN_VLOG_LEVEL=3 or 1

cleanup

oc delete template digit-recognition-server
oc delete all -l app=tf-cnn
oc delete route tf-cnn