PATH is wrong in `run_ps_local.sh`
xiandong79 opened this issue · comments
➜ scripts git:(master) ✗ sh run_ps_local.sh
local.sh: line 20: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 27: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
➜ scripts git:(master) ✗ pwd
/Users/dong/github/logistic_regression_ps/scripts
The reason is that PATH
has been wrongly predefined in run_ps_local.sh
.
sh local.sh 1 3 ~/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps ~/documents/oneflow/opensource/logistic_regression_ps/data/small_train ~/documents/oneflow/opensource/logistic_regression_ps/data/small_test
yes ,you should change the path in run_ps_local.sh.
I will make it find path auto. thank you~
2017-12-17 12:40 GMT+08:00 XiandongQI <notifications@github.com>:
… ➜ scripts git:(master) ✗ sh run_ps_local.sh
local.sh: line 20: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 27: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
local.sh: line 34: /Users/dong/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps: No such file or directory
➜ scripts git:(master) ✗ pwd
/Users/dong/github/logistic_regression_ps/scripts
The reason is that PATH has been wrongly predefined in run_ps_local.sh.
sh local.sh 1 3 ~/documents/oneflow/opensource/logistic_regression_ps/bin/lr_ps ~/documents/oneflow/opensource/logistic_regression_ps/data/small_train ~/documents/oneflow/opensource/logistic_regression_ps/data/small_test
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABwfFWTXF6yl0m_yo7w9b8g4k3gGQWAWks5tBJs5gaJpZM4REi6c>
.