glenn-jocher
commited on
Commit
•
25a7e1d
1
Parent(s):
f984cce
Update `check_yaml()` comment (#4713)
Browse files* Update `check_yaml()` comment
* Cleanup
- utils/general.py +1 -1
utils/general.py
CHANGED
@@ -252,7 +252,7 @@ def check_suffix(file='yolov5s.pt', suffix=('.pt',), msg=''):
|
|
252 |
|
253 |
|
254 |
def check_yaml(file, suffix=('.yaml', '.yml')):
|
255 |
-
#
|
256 |
return check_file(file, suffix)
|
257 |
|
258 |
|
|
|
252 |
|
253 |
|
254 |
def check_yaml(file, suffix=('.yaml', '.yml')):
|
255 |
+
# Search/download YAML file (if necessary) and return path, checking suffix
|
256 |
return check_file(file, suffix)
|
257 |
|
258 |
|