mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Update check_yaml()
comment (#4713)
* Update `check_yaml()` comment * Cleanup
This commit is contained in:
parent
f984cce52a
commit
25a7e1dae5
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user