import json
import tensorflow as tf

with open('clusterSpec.json') as f:
    clusterSpec = json.load(f)

cluster = tf.train.ClusterSpec(clusterSpec)

gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.2)
sess_config = tf.ConfigProto(gpu_options=gpu_options)

# Start the server
server = tf.train.Server(cluster, config=sess_config)

# Hang on bro
server.join()
de9b7aaf3b9d088f1048b63a4436c8c1f93c65c5
<mask token>

<mask token>
with open('clusterSpec.json') as f:
    clusterSpec = json.load(f)
<mask token>
server.join()

<mask token>
with open('clusterSpec.json') as f:
    clusterSpec = json.load(f)
cluster = tf.train.ClusterSpec(clusterSpec)
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.2)
sess_config = tf.ConfigProto(gpu_options=gpu_options)
server = tf.train.Server(cluster, config=sess_config)
server.join()

import json
import tensorflow as tf
with open('clusterSpec.json') as f:
    clusterSpec = json.load(f)
cluster = tf.train.ClusterSpec(clusterSpec)
gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.2)
sess_config = tf.ConfigProto(gpu_options=gpu_options)
server = tf.train.Server(cluster, config=sess_config)
server.join()

import json
import tensorflow as tf

with open('clusterSpec.json') as f:
    clusterSpec = json.load(f)

cluster = tf.train.ClusterSpec(clusterSpec)

gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.2)
sess_config = tf.ConfigProto(gpu_options=gpu_options)

# Start the server
server = tf.train.Server(cluster, config=sess_config)

# Hang on bro
server.join()