From bc9dc568c52e4b8fd1b7f99de9194511622aaa25 Mon Sep 17 00:00:00 2001 From: ianoflynnautomation Date: Fri, 31 Mar 2023 22:25:44 +0200 Subject: [PATCH] Fix: formating --- core/losses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/losses.py b/core/losses.py index 6ef9a4a..213f7fa 100644 --- a/core/losses.py +++ b/core/losses.py @@ -42,8 +42,8 @@ def get_global_loss_detached(local_loss, reduction="mean"): """ if reduction != "mean": logging.warn( - f"The reduction used in this function should be the same as the one used by " - f"the DDP model. By default DDP uses mean, So ensure that DDP is appropriately" + f"The reduction used in this function should be the same as the one used by" + f"the DDP model. By default DDP uses mean, so ensure that DDP is appropriately" f"modified for reduction {reduction}." )