Skip to content

Commit

Permalink
Update dataloaders.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelooussovbtis committed Nov 1, 2022
1 parent 5cfc150 commit ed66e73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/dataloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,12 +418,10 @@ def __init__(self,
self.image_weights = image_weights
self.rect = False if image_weights else rect
self.mosaic = self.augment and not self.rect # load 4 images at a time into a mosaic (only during training)
self.mosaic = False
self.mosaic_border = [-img_size // 2, -img_size // 2]
self.stride = stride
self.path = path
self.albumentations = Albumentations() if augment else None
self.albumentations = False
try:
f = [] # image files
for p in path if isinstance(path, list) else [path]:
Expand Down

0 comments on commit ed66e73

Please sign in to comment.