From 176851f83a5bae8976e642afed2fade4d927eea5 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 21 Mar 2019 22:49:57 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 4406dfca..12638c0a 100644 --- a/train.py +++ b/train.py @@ -43,7 +43,7 @@ def train( # Dataloader dataset = LoadImagesAndLabels(train_path, img_size=img_size, augment=True) - dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=4) + dataloader = DataLoader(dataset, batch_size=batch_size, num_workers=num_workers) cutoff = -1 # backbone reaches to cutoff layer start_epoch = 0