master
ml server 2020-01-28 17:53:15 -07:00
parent d8c685e58c
commit 5c921438b8
2 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
# wut-worker-train-cluster-fn # wut-worker
# #
# Starts worker client. # Starts worker client.
# #
# Usage: # Usage:
# wut-worker-train-cluster-fn # wut-worker
# Example: # Example:
# wut-worker-train-cluster-fn # wut-worker
# #
# Note: # Note:
# Each node needs a unique index number. # Each node needs a unique index number.
@ -22,5 +22,5 @@ let HOSTNUM=$HOSTNUM-1
export TF_CONFIG='{"cluster": {"worker": [ "ml1-int:2222", "ml2-int:2222", "ml3-int:2222", "ml4-int:2222", "ml5-int:2222"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}' export TF_CONFIG='{"cluster": {"worker": [ "ml1-int:2222", "ml2-int:2222", "ml3-int:2222", "ml4-int:2222", "ml5-int:2222"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}'
echo $TF_CONFIG echo $TF_CONFIG
python3 wut-worker-train-cluster-fn.py python3 wut-worker.py

View File

@ -1,8 +1,8 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# #
# wut-worker-train-cluster-fn.py # wut-worker.py
# #
# wut-train-cluster --- What U Think? SatNOGS Observation AI, training application cluster edition. # wut --- What U Think? SatNOGS Observation AI, training application cluster edition.
# #
# https://spacecruft.org/spacecruft/satnogs-wut # https://spacecruft.org/spacecruft/satnogs-wut
# #