Skip to content

Commit

Permalink
remove extra lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Apr 3, 2024
1 parent 88b2bec commit 8b1b4f3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions spacekit/builder/architect.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,18 +382,6 @@ def save_model(self, weights=True, output_path=".", keras_archive=True):
for filename in files:
print("{}{}".format(indent + " ", filename))
self.model_path = model_path


weights_path = f"{model_path}/weights/ckpt"
self.model.save(model_path)
if weights is True:
self.model.save_weights(weights_path)
for root, _, files in os.walk(model_path):
indent = " " * root.count(os.sep)
print("{}{}/".format(indent, os.path.basename(root)))
for filename in files:
print("{}{}".format(indent + " ", filename))
self.model_path = model_path

def model_diagram(
self,
Expand Down

0 comments on commit 8b1b4f3

Please sign in to comment.