-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix sgd trainer document error. #3526
Fix sgd trainer document error. #3526
Conversation
python/paddle/v2/trainer.py
Outdated
:type extra_layers: paddle.v2.config_base.Layer | ||
:param is_local: Whether trainning locally | ||
:type is_local: bool | ||
:param pserver_spec: pserver location, eg: localhost:3000 |
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.
pserver location, eg: localhost:3000, if use_etcd is true, pserver_spec indicates the etcd endpoints, eg: http://127.0.0.1:2379
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.
Thks.
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.
LGTM!
python/paddle/v2/trainer.py
Outdated
:type extra_layers: paddle.v2.config_base.Layer | ||
:param is_local: Whether trainning locally | ||
:type is_local: bool | ||
:param pserver_spec: pserver location, eg: localhost:3000, |
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.
Perhaps there is more than one PServer instance, and just used for fault tolerant mode
pserver location, eg: localhost:3000
=>
comma string for pserver location, eg:127.10.0.10:3000,127.10.0.11:3000, and this parameter is only used for fault tolerant mode cluster training.
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.
fix #3525