From a055cb5be9b4319e249de8d091faf7d95be47d3a Mon Sep 17 00:00:00 2001 From: ManoleAlexandru99 Date: Sat, 15 Apr 2023 13:16:28 +0300 Subject: [PATCH] Fixed code small error #0016 --- train.py | 2 +- utils/dataloaders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/train.py b/train.py index 5565b62d42a0..25991bd25195 100644 --- a/train.py +++ b/train.py @@ -550,7 +550,7 @@ def parse_opt(known=False): def main(opt, callbacks=Callbacks()): - print('\n---------- VERSION:', '#0015', '----------\n') + print('\n---------- VERSION:', '#0016', '----------\n') # Checks if RANK in {-1, 0}: print_args(vars(opt)) diff --git a/utils/dataloaders.py b/utils/dataloaders.py index a0c2585a7388..3a61c198af9f 100644 --- a/utils/dataloaders.py +++ b/utils/dataloaders.py @@ -657,7 +657,7 @@ def __getitem__(self, index): hyp = self.hyp mosaic = self.mosaic and random.random() < hyp['mosaic'] - if False #mosaic: + if False: # mosaic: # Load mosaic img, labels, seg = self.load_mosaic(index) shapes = None