def run_bash(cmd):
    p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
        executable='/bin/bash')
out = p.stdout.read().strip()
return out
How does one train multiple models in a single script in TensorFlow when there are GPUs present?