diff options
Diffstat (limited to 'training/callbacks/wandb.py')
-rw-r--r-- | training/callbacks/wandb.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/training/callbacks/wandb.py b/training/callbacks/wandb.py index 6adbebe..0841000 100644 --- a/training/callbacks/wandb.py +++ b/training/callbacks/wandb.py @@ -2,11 +2,12 @@ from pathlib import Path from typing import Tuple -import wandb -from torch import Tensor from pytorch_lightning import Callback, LightningModule, Trainer from pytorch_lightning.loggers import WandbLogger from pytorch_lightning.utilities import rank_zero_only +from torch import Tensor + +import wandb def get_wandb_logger(trainer: Trainer) -> WandbLogger: |