Skip to content

Commit

Permalink
removed aug
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelooussovbtis committed Nov 1, 2022
1 parent 7179aa5 commit de179d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def train(hyp, opt, device, callbacks): # hyp is path/to/hyp.yaml or hyp dictio
gs,
single_cls,
hyp=hyp,
augment=True,
augment=False,
cache=None if opt.cache == 'val' else opt.cache,
rect=opt.rect,
rank=LOCAL_RANK,
Expand Down Expand Up @@ -309,7 +309,7 @@ def train(hyp, opt, device, callbacks): # hyp is path/to/hyp.yaml or hyp dictio
gs,
single_cls,
hyp=hyp,
augment=True,
augment=False,
cache=None if opt.cache == 'val' else opt.cache,
rect=opt.rect,
rank=LOCAL_RANK,
Expand Down
1 change: 0 additions & 1 deletion utils/dataloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ def __init__(self,
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 de179d0

Please sign in to comment.