From bd5c58b0c8c1354845ade3c39e628cdaf8f45ceb Mon Sep 17 00:00:00 2001 From: Kyle Daniel Miller Date: Mon, 9 Sep 2024 12:23:08 -0500 Subject: [PATCH] fixed erroneous indent in save function --- crabnet/crabnet_.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crabnet/crabnet_.py b/crabnet/crabnet_.py index 5529707..aa99e24 100644 --- a/crabnet/crabnet_.py +++ b/crabnet/crabnet_.py @@ -1094,8 +1094,8 @@ def save_network(self, model_name: str = None): """ if model_name is None: model_name = self.model_name - os.makedirs(join("models", "trained_models"), exist_ok=True) - path = join("models", "trained_models", f"{model_name}.pth") + os.makedirs(join("models", "trained_models"), exist_ok=True) + path = join("models", "trained_models", f"{model_name}.pth") if self.verbose: print(f"Saving network ({model_name}) to {path}")