Model Explanations with Anchor Images

Launch an image classifier model and get explanations on image data.

In this demo we will:

  • Launch an income classification model which has image training features
  • Send a request to get a predicton
  • Create an explainer for the model
  • Send the same request and then get an explanation for it

This model provides a model trained to classify images based on CIFAR10 dataset.

Create Model

Use the following model url with tensorflow runtime.

gs://seldon-models/tfserving/cifar10/resnet32

load

Get Predictions

Run a single prediction using the tensorflow payload format of an image truck.

load

Add an Anchor Images Explainer

Create an model explainer using the URL below for the saved explainer.

gs://seldon-models/tfserving/cifar10/explainer-py36-0.5.2

load

Get Explanation for one Request

View all requests and then explain it using the JSON below:

explain