├── README.md ├── data ├── t10k-images-idx3-ubyte.gz ├── t10k-labels-idx1-ubyte.gz ├── train-images-idx3-ubyte.gz └── train-labels-idx1-ubyte.gz ├── gpu-mem-samples ├── centos │ ├── Dockerfile │ └── main.py └── ubuntu │ ├── Dockerfile │ └── main.py ├── mnist-tf ├── Dockerfile ├── Dockerfile.cpu ├── Makefile ├── main.py └── pip.conf ├── models └── tensorflow │ └── mnist.tar.gz ├── mpijob └── docker │ ├── Dockerfile │ └── Makefile ├── pipelines ├── iris_pipelines.py └── train │ ├── iris_training.csv │ └── train.py └── tfjob └── docker ├── distributed-mnist ├── Dockerfile.cpu ├── Dockerfile.gpu ├── Makefile └── main.py ├── estimator ├── Dockerfile.cpu ├── Dockerfile.gpu ├── Makefile └── mnist_estimator.py ├── export-model ├── Dockerfile ├── Makefile └── export_model.py ├── mnist-client ├── Dockerfile ├── Makefile ├── data │ ├── 0.png │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── 9.png └── mnist_client.py ├── mnist ├── Dockerfile.cpu ├── Dockerfile.gpu ├── Makefile ├── export_model.py └── main.py └── v1alpha2 └── distributed-mnist ├── Dockerfile.cpu ├── Dockerfile.gpu ├── Makefile └── main.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/README.md -------------------------------------------------------------------------------- /data/t10k-images-idx3-ubyte.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/data/t10k-images-idx3-ubyte.gz -------------------------------------------------------------------------------- /data/t10k-labels-idx1-ubyte.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/data/t10k-labels-idx1-ubyte.gz -------------------------------------------------------------------------------- /data/train-images-idx3-ubyte.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/data/train-images-idx3-ubyte.gz -------------------------------------------------------------------------------- /data/train-labels-idx1-ubyte.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/data/train-labels-idx1-ubyte.gz -------------------------------------------------------------------------------- /gpu-mem-samples/centos/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/gpu-mem-samples/centos/Dockerfile -------------------------------------------------------------------------------- /gpu-mem-samples/centos/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/gpu-mem-samples/centos/main.py -------------------------------------------------------------------------------- /gpu-mem-samples/ubuntu/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/gpu-mem-samples/ubuntu/Dockerfile -------------------------------------------------------------------------------- /gpu-mem-samples/ubuntu/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/gpu-mem-samples/ubuntu/main.py -------------------------------------------------------------------------------- /mnist-tf/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mnist-tf/Dockerfile -------------------------------------------------------------------------------- /mnist-tf/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mnist-tf/Dockerfile.cpu -------------------------------------------------------------------------------- /mnist-tf/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mnist-tf/Makefile -------------------------------------------------------------------------------- /mnist-tf/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mnist-tf/main.py -------------------------------------------------------------------------------- /mnist-tf/pip.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mnist-tf/pip.conf -------------------------------------------------------------------------------- /models/tensorflow/mnist.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/models/tensorflow/mnist.tar.gz -------------------------------------------------------------------------------- /mpijob/docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mpijob/docker/Dockerfile -------------------------------------------------------------------------------- /mpijob/docker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/mpijob/docker/Makefile -------------------------------------------------------------------------------- /pipelines/iris_pipelines.py: -------------------------------------------------------------------------------- 1 | pipelines.py -------------------------------------------------------------------------------- /pipelines/train/iris_training.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/pipelines/train/iris_training.csv -------------------------------------------------------------------------------- /pipelines/train/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/pipelines/train/train.py -------------------------------------------------------------------------------- /tfjob/docker/distributed-mnist/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/distributed-mnist/Dockerfile.cpu -------------------------------------------------------------------------------- /tfjob/docker/distributed-mnist/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/distributed-mnist/Dockerfile.gpu -------------------------------------------------------------------------------- /tfjob/docker/distributed-mnist/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/distributed-mnist/Makefile -------------------------------------------------------------------------------- /tfjob/docker/distributed-mnist/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/distributed-mnist/main.py -------------------------------------------------------------------------------- /tfjob/docker/estimator/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/estimator/Dockerfile.cpu -------------------------------------------------------------------------------- /tfjob/docker/estimator/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/estimator/Dockerfile.gpu -------------------------------------------------------------------------------- /tfjob/docker/estimator/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/estimator/Makefile -------------------------------------------------------------------------------- /tfjob/docker/estimator/mnist_estimator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/estimator/mnist_estimator.py -------------------------------------------------------------------------------- /tfjob/docker/export-model/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/export-model/Dockerfile -------------------------------------------------------------------------------- /tfjob/docker/export-model/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/export-model/Makefile -------------------------------------------------------------------------------- /tfjob/docker/export-model/export_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/export-model/export_model.py -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/Dockerfile -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/Makefile -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/0.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/1.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/2.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/3.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/4.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/5.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/6.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/7.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/8.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/data/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/data/9.png -------------------------------------------------------------------------------- /tfjob/docker/mnist-client/mnist_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist-client/mnist_client.py -------------------------------------------------------------------------------- /tfjob/docker/mnist/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist/Dockerfile.cpu -------------------------------------------------------------------------------- /tfjob/docker/mnist/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist/Dockerfile.gpu -------------------------------------------------------------------------------- /tfjob/docker/mnist/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist/Makefile -------------------------------------------------------------------------------- /tfjob/docker/mnist/export_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist/export_model.py -------------------------------------------------------------------------------- /tfjob/docker/mnist/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/mnist/main.py -------------------------------------------------------------------------------- /tfjob/docker/v1alpha2/distributed-mnist/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/v1alpha2/distributed-mnist/Dockerfile.cpu -------------------------------------------------------------------------------- /tfjob/docker/v1alpha2/distributed-mnist/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/v1alpha2/distributed-mnist/Dockerfile.gpu -------------------------------------------------------------------------------- /tfjob/docker/v1alpha2/distributed-mnist/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/v1alpha2/distributed-mnist/Makefile -------------------------------------------------------------------------------- /tfjob/docker/v1alpha2/distributed-mnist/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cheyang/tensorflow-sample-code/HEAD/tfjob/docker/v1alpha2/distributed-mnist/main.py --------------------------------------------------------------------------------