Skip to content

Commit

Permalink
Fix check_requirements() txt not found bug (#11518)
Browse files Browse the repository at this point in the history
Fix check_requirements() txt not found bug

@AyushExel @kalenmike fixes "requirements.txt" not found warning.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
  • Loading branch information
glenn-jocher committed May 11, 2023
1 parent 016e046 commit b72efd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def check_version(current='0.0.0', minimum='0.0.0', name='version ', pinned=Fals


@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.
Expand Down

0 comments on commit b72efd2

Please sign in to comment.