Skip to content

Commit

Permalink
fixed erroneous indent in save function
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledmiller committed Sep 9, 2024
1 parent b9835dc commit bd5c58b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crabnet/crabnet_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit bd5c58b

Please sign in to comment.