From 9ce21f569ecac03f15f2ad669fde3dd4a512f8cc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 15 Apr 2024 21:47:54 +0200 Subject: Format --- training/callbacks/wandb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'training/callbacks') 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: -- cgit v1.2.3-70-g09d2