diff --git a/utils/general.py b/utils/general.py index 2033f76126f8..f2af386a7d93 100755 --- a/utils/general.py +++ b/utils/general.py @@ -252,7 +252,7 @@ def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''): def check_yaml(file, suffix=('.yaml', '.yml')): - # Check YAML file(s) for acceptable suffixes + # Search/download YAML file (if necessary) and return path, checking suffix return check_file(file, suffix)