This commit is contained in:
Glenn Jocher 2019-05-13 22:01:10 +02:00
parent 7cedb51dac
commit e42278e981
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def train(
# plt.savefig('LR.png', dpi=300) # plt.savefig('LR.png', dpi=300)
# Dataset # 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 # Initialize distributed training
if torch.cuda.device_count() > 1: if torch.cuda.device_count() > 1: