Skip to content

More-Dist-TensorFlow/tensorflow-applications

 
 

Repository files navigation

tensorflow-applications

Run TensorFlow in distributed system

#execute ps0
python worker_test.py \
--ps_hosts=127.0.0.1:8887 \
--worker_hosts=127.0.0.1:8888,127.0.0.1:8889 \
--job_name=ps \
--task_index=0

#execute worker0
python worker_test.py \
--ps_hosts=127.0.0.1:8887 \
--worker_hosts=127.0.0.1:8888,127.0.0.1:8889 \
--job_name=worker \
--task_index=0

#execute worker1
python worker_test.py \
--ps_hosts=127.0.0.1:8887 \
--worker_hosts=127.0.0.1:8888,127.0.0.1:8889 \
--job_name=worker \
--task_index=1

#SCALE
python scale.py

#audio-classification
python audio_classify.py ../audio-min-samples/dogbark.wav

#yolo
python yolo.py dog.jpg

About

Run TensorFlow in distributed system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%