-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix invalid paddle binary file path #3421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
dfc86dd
98255dc
a87b82c
d6bd503
98b35ab
d98e2d5
5c926b0
a872e33
ec9ac91
3565518
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,7 +100,7 @@ import setuptools | |
| print str(packaging.version.Version("@PADDLE_VERSION@")) | ||
| ' 2>/dev/null) | ||
| BASEDIR=$(dirname "$0") | ||
| pip install ${BASEDIR}/../opt/paddle/share/wheels/*-${PYTHON_PADDLE_VERSION}-*.whl | ||
| pip install ${BASEDIR}/../../opt/paddle/share/wheels/*-${PYTHON_PADDLE_VERSION}-*.whl | ||
| if [ $? -ne 0 ]; then | ||
| echo "pip install wheels failed. " | ||
| echo "Please use 'sudo paddle' at the first time you use PaddlePaddle" | ||
|
|
@@ -112,13 +112,13 @@ fi | |
|
|
||
| case "$1" in | ||
| "train") | ||
| ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2} | ||
| ${DEBUGGER} $MYDIR/../../opt/paddle/bin/paddle_trainer ${@:2} | ||
|
||
| ;; | ||
| "merge_model") | ||
| ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_merge_model ${@:2} | ||
| ${DEBUGGER} $MYDIR/../../opt/paddle/bin/paddle_merge_model ${@:2} | ||
| ;; | ||
| "pserver") | ||
| ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_pserver_main ${@:2} | ||
| ${DEBUGGER} $MYDIR/../../opt/paddle/bin/paddle_pserver_main ${@:2} | ||
| ;; | ||
| "dump_config") | ||
| python -m paddle.utils.dump_config ${@:2} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we all switch to install using
pip installthis may not be needed?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.