This directory contains example Dockerfiles to run TensorFlow on cluster managers.
First, pick an image name for the job. When running on a cluster manager, you
will want to push your images to a container registry. Note that both the
Google Container Registry
and the Amazon EC2 Container Registry require
special paths. We append :v1 to version our images. Versioning images is
strongly recommended for reasons described in the best practices section.
docker build -t <image_name>:v1 -f Dockerfile .
# Use gcloud docker push instead if on Google Container Registry.
docker push <image_name>:v1
If you make any updates to the code, increment the version and rerun the above commands with the new version.
The mnist.py example reads the mnist data in the TFRecords format. You can run the convert_to_records.py program to convert mnist data to TFRecords.
When running distributed TensorFlow, you should upload the converted data to a common location on distributed storage, such as GCS or HDFS.
Content type
Image
Digest
Size
306.9 MB
Last updated
almost 10 years ago
docker pull vegaxju/tensorboard