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:
1 parent
cfecd903a3
commit
ed9bac8392
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user