Browse Source

Rename logger from 'utils.logger' to 'yolov5' (#6421)

* Gave a more explicit name to the logger

* Cleanup

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
modifyDataloader
Jonathan Samelson GitHub 2 years ago
parent
commit
ed9bac8392
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/general.py

+ 1
- 1
utils/general.py View File

@@ -65,7 +65,7 @@ def set_logging(name=None, verbose=VERBOSE):
return logging.getLogger(name)


LOGGER = set_logging(__name__) # define globally (used in train.py, val.py, detect.py, etc.)
LOGGER = set_logging('yolov5') # define globally (used in train.py, val.py, detect.py, etc.)


class Profile(contextlib.ContextDecorator):

Loading…
Cancel
Save