Commit 745c0f25 authored by lishen's avatar lishen

[fix]

parent 0528c591
......@@ -213,7 +213,7 @@ def main():
cudnn.benchmark = True
net.cuda()
net = nn.DataParallel(net)
net = nn.DataParallel(net, device_ids=[0, 1, 2, 3, 4])
if args.use_checkpoint:
#net.load_state_dict(torch.load(checkpath))
......
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