Skip to content

Commit

Permalink
Update autoanchor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Feb 5, 2021
1 parent 5742a78 commit 4450fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/autoanchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def print_results(k):
with open(path) as f:
data_dict = yaml.load(f, Loader=yaml.SafeLoader) # model dict
from utils.datasets import LoadImagesAndLabels
dataset = LoadImagesAndLabels(data_dict['train'], data_type="train", augment=True, rect=True)
dataset = LoadImagesAndLabels(data_dict['train'], augment=True, rect=True)
else:
dataset = path # dataset

Expand Down

0 comments on commit 4450fb4

Please sign in to comment.