updates
This commit is contained in:
parent
c60bad8b10
commit
917f9dd248
2
train.py
2
train.py
|
@ -52,7 +52,7 @@ def train(
|
||||||
|
|
||||||
model.load_state_dict(checkpoint['model'])
|
model.load_state_dict(checkpoint['model'])
|
||||||
if torch.cuda.device_count() > 1:
|
if torch.cuda.device_count() > 1:
|
||||||
raise Exception('Multi-GPU not currently supported: https://github.com/ultralytics/yolov3/issues/21')
|
raise Exception('Multi-GPU issue: https://github.com/ultralytics/yolov3/issues/21')
|
||||||
# print('Using ', torch.cuda.device_count(), ' GPUs')
|
# print('Using ', torch.cuda.device_count(), ' GPUs')
|
||||||
# model = nn.DataParallel(model)
|
# model = nn.DataParallel(model)
|
||||||
model.to(device).train()
|
model.to(device).train()
|
||||||
|
|
Loading…
Reference in New Issue