Fix check_requirements() txt not found bug (#11518)
Fix check_requirements() txt not found bug @AyushExel @kalenmike fixes "requirements.txt" not found warning. Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
1 parent
016e046262
commit
b72efd2306
1 file changed
+1
-1
+1
-1
@@ -388,7 +388,7 @@ def check_version(current='0.0.0', minimum='0.0.0', name='version ', pinned=Fals
|
|||||||
|
|
||||||
|
|
||||||
@TryExcept()
|
@TryExcept()
|
||||||
def check_requirements(requirements=ROOT.parent / 'requirements.txt', exclude=(), install=True, cmds=''):
|
def check_requirements(requirements=ROOT / 'requirements.txt', exclude=(), install=True, cmds=''):
|
||||||
"""
|
"""
|
||||||
Check if installed dependencies meet YOLOv5 requirements and attempt to auto-update if needed.
|
Check if installed dependencies meet YOLOv5 requirements and attempt to auto-update if needed.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user