updates
This commit is contained in:
parent
cd81f978be
commit
176851f83a
2
train.py
2
train.py
|
@ -43,7 +43,7 @@ def train(
|
||||||
|
|
||||||
# Dataloader
|
# Dataloader
|
||||||
dataset = LoadImagesAndLabels(train_path, img_size=img_size, augment=True)
|
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
|
cutoff = -1 # backbone reaches to cutoff layer
|
||||||
start_epoch = 0
|
start_epoch = 0
|
||||||
|
|
Loading…
Reference in New Issue