Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
47bddd8e
Commit
47bddd8e
authored
Aug 10, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix distributed trainer docs formatting (fix #375)
parent
6d954998
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tensorpack/train/distributed.py
tensorpack/train/distributed.py
+2
-2
No files found.
tensorpack/train/distributed.py
View file @
47bddd8e
...
...
@@ -62,7 +62,7 @@ class DistributedTrainerReplicated(MultiGPUTrainerBase):
config=get_default_sess_config())
DistributedTrainerReplicated(config, server).train()
.. code-block::
.. code-block::
none
# start your jobs:
(host1)$ train.py --job worker --task 0
...
...
@@ -74,7 +74,7 @@ class DistributedTrainerReplicated(MultiGPUTrainerBase):
"""
Args:
config(TrainConfig): Must contain 'model' and 'data'.
server
(tf.train.Server): the server object with ps and workers
server(tf.train.Server): the server object with ps and workers
"""
assert
config
.
data
is
not
None
and
config
.
model
is
not
None
self
.
server
=
server
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment