Skip to content

Commit fedc361

Browse files
author
Lee Yang
committed
minor edits
1 parent 968f9e0 commit fedc361

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/mnist/estimator/mnist_spark.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def model_fn(features, labels, mode):
9393
train_op=optimizer.minimize(
9494
loss, tf.compat.v1.train.get_or_create_global_step()))
9595

96-
# strategy = tf.distribute.experimental.MultiWorkerMirroredStrategy()
9796
config = tf.estimator.RunConfig(train_distribute=strategy, save_checkpoints_steps=100)
9897

9998
classifier = tf.estimator.Estimator(

examples/mnist/keras/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ For batch inferencing use cases, you can use Spark to run multiple single-node T
130130
${TFoS_HOME}/examples/mnist/keras/mnist_inference.py \
131131
--cluster_size ${SPARK_WORKER_INSTANCES} \
132132
--images_labels ${TFoS_HOME}/data/mnist/tfr/test \
133-
--export_dir $SAVED_MODEL \
133+
--export_dir ${SAVED_MODEL} \
134134
--output ${TFoS_HOME}/predictions
135135

136136
#### Train and Inference via Spark ML Pipeline API

0 commit comments

Comments
 (0)