From 3f8b64974cd8ca78adec84e9cd2337f20e04b453 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 10 May 2019 15:24:03 +0200 Subject: [PATCH] add *.jpeg support --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 6e6b0bcb..98c3b514 100644 --- a/train.py +++ b/train.py @@ -287,7 +287,7 @@ if __name__ == '__main__': parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)') parser.add_argument('--resume', action='store_true', help='resume training flag') parser.add_argument('--transfer', action='store_true', help='transfer learning flag') - parser.add_argument('--num-workers', type=int, default=0, help='number of Pytorch DataLoader workers') + parser.add_argument('--num-workers', type=int, default=4, help='number of Pytorch DataLoader workers') parser.add_argument('--dist-url', default='tcp://127.0.0.1:9999', type=str, help='distributed training init method') parser.add_argument('--rank', default=0, type=int, help='distributed training node rank') parser.add_argument('--world-size', default=1, type=int, help='number of nodes for distributed training')