Skip to content

rhdemo/2020-demo-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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