We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca6b9d commit a913314Copy full SHA for a913314
utils/autoanchor.py
@@ -98,7 +98,7 @@ def print_results(k):
98
99
if isinstance(path, str): # *.yaml file
100
with open(path) as f:
101
- data_dict = yaml.load(f, Loader=yaml.FullLoader) # model dict
+ data_dict = yaml.load(f, Loader=yaml.SafeLoader) # model dict
102
from utils.datasets import LoadImagesAndLabels
103
dataset = LoadImagesAndLabels(data_dict['train'], augment=True, rect=True)
104
else:
0 commit comments