Skip to content

Commit

Permalink
forgot pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dyollb committed Nov 7, 2024
1 parent 3645cab commit 397ff7c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/segmantic/seg/monai_unet.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,7 @@ def predict(
settings = json.load(json_file)
net: Net = Net.load_from_checkpoint(f"{model_file}", **settings)
else:
net = Net.load_from_checkpoint(
f"{model_file}"
)
net = Net.load_from_checkpoint(f"{model_file}")
num_classes = net.num_classes

net.freeze()
Expand Down

0 comments on commit 397ff7c

Please sign in to comment.