Unverified Commit 46095957 authored by Ruohui Wang's avatar Ruohui Wang Committed by GitHub
Browse files

Fix a typo in warning message (#615)

"please use MMDistributedDataParallelinstead." -> "please use MMDistributedDataParallel instead."
parent 50a33950
......@@ -76,7 +76,7 @@ class MMDataParallel(DataParallel):
assert len(self.device_ids) == 1, \
('MMDataParallel only supports single GPU training, if you need to'
' train with multiple GPUs, please use MMDistributedDataParallel'
'instead.')
' instead.')
for t in chain(self.module.parameters(), self.module.buffers()):
if t.device != self.src_device_obj:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment