tree: 9a67b98c37a348112c72fece71477609cbbc522d [path history] [tgz]
  1. build.sh
  2. Dockerfile
  3. mnist_keras_distributed.py
  4. post.sh
  5. readme.md
dev-support/examples/mnist-tensorflow/MultiWorkerMirroredStrategy/readme.md

TF MultiWorkerMirroredStrategy Example

Usage

This is an easy mnist example of how to train a distributed tensorflow model using MultiWorkerMirroredStrategy and track the metric in submarine-sdk.

How to execute

  1. Set up (for a single terminal, only need to do this one time)
eval $(minikube -p minikube docker-env)
  1. Build the docker image
./dev-support/examples/mnist-tensorflow/MultiWorkerMirroredStrategy/build.sh
  1. Submit a post request
./dev-support/examples/mnist-tensorflow/MultiWorkerMirroredStrategy/post.sh