Fix: try 2 - prevent logging config clobbering (#10192)
* fix: try 2 - prevent logging config clobbering
Previous behavior: loading this repository with `torch.hub.load` clobbers the existing logging configuration by modifying the root logger's configuration.
New behavior: loading this repository with `torch.hub.load` only clobbers the logging configuration for logger `yolov5` and its descendants. This is done in a way compatible with Google Colab
Signed-off-by:
Ryan Echols <ryan@shadylakemedia.com>
* chore: fill in comment
no-op so a pre-commit hook can auto-format files
Signed-off-by:
Ryan Echols <ryan@shadylakemedia.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ciSigned-off-by:
Ryan Echols <ryan@shadylakemedia.com>
Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
正在显示
请
注册
或者
登录
后发表评论