diff --git a/train.py b/train.py index d5210c43..fde05de4 100644 --- a/train.py +++ b/train.py @@ -138,7 +138,7 @@ def train( # plt.savefig('LR.png', dpi=300) # Dataset - dataset = LoadImagesAndLabels(train_path, img_size, batch_size, augment=True, rect=True, image_weights=True) + dataset = LoadImagesAndLabels(train_path, img_size, batch_size, augment=True, rect=False, image_weights=True) # Initialize distributed training if torch.cuda.device_count() > 1: