Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
421c9e66
"docs/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "9110df94fcac184bac6513d87d254e0ad818ab65"
Commit
421c9e66
authored
Jun 08, 2018
by
Christian Sarofeen
Browse files
Switched to non-bucketed comm
parent
137d822b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/imagenet/main.py
examples/imagenet/main.py
+2
-1
No files found.
examples/imagenet/main.py
View file @
421c9e66
...
@@ -131,7 +131,8 @@ def main():
...
@@ -131,7 +131,8 @@ def main():
if
args
.
fp16
:
if
args
.
fp16
:
model
=
network_to_half
(
model
)
model
=
network_to_half
(
model
)
if
args
.
distributed
:
if
args
.
distributed
:
model
=
DDP
(
model
)
#shared param turns off bucketing in DDP, for lower latency runs this can improve perf
model
=
DDP
(
model
,
shared_param
=
True
)
global
model_params
,
master_params
global
model_params
,
master_params
if
args
.
fp16
:
if
args
.
fp16
:
...
...
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