mikel-brostrom / boxmot

BoxMOT: pluggable SOTA tracking modules for segmentation, object detection and pose estimation models
GNU Affero General Public License v3.0
6.79k stars 1.72k forks source link

DEBUG level logs gets disabled after importing boxmot #1211

Closed Pannu22 closed 12 months ago

Pannu22 commented 12 months ago

Search before asking

Yolo Tracking Component

Other

Bug

I'm experimenting with Boxmot & found this issue where after importing Boxmot, I'm not getting DEBUG-level logs! Thanks in advance & I would love to contribute.

Environment

loguru==0.7.2 ; python_full_version == "3.10.13" boxmot==10.0.46 ; python_full_version == "3.10.13"

Minimal Reproducible Example

from loguru import logger
logger.debug("Test log")

from boxmot import DeepOCSORT
logger.debug("Imported boxmot")
mikel-brostrom commented 12 months ago

You can set the level here:

https://github.com/mikel-brostrom/yolo_tracking/blob/7f414e0d2692b4ed4383d9ab16eb85bfc17fd59c/boxmot/utils/__init__.py#L19

:smile: