Skip to content

Commit

Permalink
isort the new files
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Himanshu committed Jul 8, 2024
1 parent a2a55bc commit ca23ca5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion yolox/core/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
from yolox.exp import Exp
from yolox.utils import (
MeterBuffer,
MlflowLogger,
ModelEMA,
WandbLogger,
MlflowLogger,
adjust_status,
all_reduce_norm,
get_local_rank,
Expand Down
2 changes: 1 addition & 1 deletion yolox/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from .dist import *
from .ema import *
from .logger import WandbLogger, setup_logger
from .mlflow_logger import MlflowLogger
from .lr_scheduler import LRScheduler
from .mlflow_logger import MlflowLogger
from .metric import *
from .model_utils import *
from .setup_env import *
Expand Down
12 changes: 7 additions & 5 deletions yolox/utils/mlflow_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@
For more information, please refer to:
https://mlflow.org/docs/latest/introduction/index.html
"""
from loguru import logger

import torch

from yolox.utils import is_main_process

import importlib.metadata
import importlib.util
import json
import os
from collections.abc import MutableMapping
import packaging.version

from loguru import logger
import torch
from yolox.utils import is_main_process
from collections.abc import MutableMapping


class MlflowLogger:
Expand Down

0 comments on commit ca23ca5

Please sign in to comment.