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
ModelZoo
SOLOv2-pytorch
Commits
e74c260f
Commit
e74c260f
authored
Sep 24, 2018
by
Kai Chen
Browse files
fix typo
parent
9569fb5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mmdet/core/utils/dist_utils.py
mmdet/core/utils/dist_utils.py
+2
-2
No files found.
mmdet/core/utils/dist_utils.py
View file @
e74c260f
...
...
@@ -19,9 +19,9 @@ def init_dist(launcher, backend='nccl', **kwargs):
if
launcher
==
'pytorch'
:
_init_dist_pytorch
(
backend
,
**
kwargs
)
elif
launcher
==
'mpi'
:
_init_dist_
pytorch
(
backend
,
**
kwargs
)
_init_dist_
mpi
(
backend
,
**
kwargs
)
elif
launcher
==
'slurm'
:
_init_dist_
pytorch
(
backend
,
**
kwargs
)
_init_dist_
slurm
(
backend
,
**
kwargs
)
else
:
raise
ValueError
(
'Invalid launcher type: {}'
.
format
(
launcher
))
...
...
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