Skip to content

Commit

Permalink
Fixed code small error ultralytics#16
Browse files Browse the repository at this point in the history
  • Loading branch information
manole-alexandru committed Apr 15, 2023
1 parent 9835fcc commit a055cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion utils/dataloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a055cb5

Please sign in to comment.