Merge branch 'master' of https://gitea.star-rising.cn/xkrs_manan/RODY
This commit is contained in:
commit
fb400897fa
@ -609,7 +609,7 @@ def main(opt,data_list,id,callbacks=Callbacks()):
|
|||||||
|
|
||||||
# DDP mode
|
# DDP mode
|
||||||
print('\n','opt.device:',opt.device,'\n')
|
print('\n','opt.device:',opt.device,'\n')
|
||||||
device = opt.device #select_device(opt.device, batch_size=opt.batch_size)
|
device = torch.device(opt.device) #select_device(opt.device, batch_size=opt.batch_size)
|
||||||
print('\n','device:',device,'\n')
|
print('\n','device:',device,'\n')
|
||||||
# if LOCAL_RANK != -1:
|
# if LOCAL_RANK != -1:
|
||||||
# msg = 'is not compatible with YOLOv5 Multi-GPU DDP training'
|
# msg = 'is not compatible with YOLOv5 Multi-GPU DDP training'
|
||||||
|
Loading…
Reference in New Issue
Block a user