From b527bfcb39da1b70a08d09981968895964a30316 Mon Sep 17 00:00:00 2001 From: JIAKUNHAO Date: Wed, 23 Nov 2022 21:06:24 +0800 Subject: [PATCH] =?UTF-8?q?GPU=E9=80=89=E6=8B=A9debug-4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/yolov5/train_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/yolov5/train_server.py b/app/yolov5/train_server.py index 271011e..a99990e 100644 --- a/app/yolov5/train_server.py +++ b/app/yolov5/train_server.py @@ -609,7 +609,7 @@ def main(opt,data_list,id,callbacks=Callbacks()): # DDP mode print('\n','opt.device:',opt.device,'\n') - device = select_device(opt.device, batch_size=opt.batch_size) + device = opt.device #select_device(opt.device, batch_size=opt.batch_size) print('\n','device:',device,'\n') # if LOCAL_RANK != -1: # msg = 'is not compatible with YOLOv5 Multi-GPU DDP training'