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>
This commit is contained in:
parent
cfecd903a3
commit
ed9bac8392
|
|
@ -65,7 +65,7 @@ def set_logging(name=None, verbose=VERBOSE):
|
||||||
return logging.getLogger(name)
|
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):
|
class Profile(contextlib.ContextDecorator):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue