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:
Jonathan SamelsonandGlenn Jocher authored and GitHub committed 2022-01-25 07:21:06 -08:00
1 parent cfecd903a3
commit ed9bac8392
1 file changed
+1 -1
+1 -1
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):