Skip to content

Commit

Permalink
Adjust code style
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzLamm committed Oct 30, 2023
1 parent 26db9de commit abd7ed2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/membrain_seg/segmentation/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def segment(

# Initialize the model and load trained weights from checkpoint
pl_model = SemanticSegmentationUnet.load_from_checkpoint(model_checkpoint, map_location=device, strict=False)

pl_model.to(device)

# Preprocess the new data
Expand Down

0 comments on commit abd7ed2

Please sign in to comment.