TF Generate MNIST
The TF Generate MNIST operator is an extension of the python27 operator. It runs tensorflow code that generates MNIST images to check a previously trained model (loaded from disk).
The resulting program infers the numbers from each handwriting picture, which is based on the
MNIST example https://www.tensorflow.org/tutorials/layers.
Prerequisites
-
MNIST model (type binary, default: None): A pretrained MNIST model (including metadata) that was created with the experimental.ml.tensorflow.trainMnist operator (that is, artifacts prefixed with "model.ckpt" that were created with a tf.train.Saver in the repository under modeldir).
-
MNIST image (type binary, default: None): An input stream of MNIST png- or jpg- images in the correct pixel size (28x28).
Configuration Parameters
Parameter |
Type |
Description |
---|---|---|
img_type |
string |
Introduces additional time between each evaluation
step.
Default: jpg |
tmpdir |
string |
Contains the tmpdir parameter and generates a
folder /tmp/images_validation.
Default: "/tmp" |
Input
Input |
Type |
Description |
---|---|---|
inPath* |
string |
It takes a path to the mnist sample content. |
Output
Output |
Type |
Description |
---|---|---|
outPath |
string |
Path to the generated MNIST sample images. |