Skip to content

Commit

Permalink
Merge pull request #82 from oubino/working
Browse files Browse the repository at this point in the history
Working
  • Loading branch information
oubino authored Sep 26, 2023
2 parents 6098d06 + d820602 commit ea2dfcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/locpix/scripts/img_seg/unet_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def main():
# forward pass - with autocasting
with torch.autocast(device_type="cuda"):
output = model(img)
output = torch.sigmoid(output)

# reduce batch and channel dimensions
output = torch.squeeze(output, 0)
Expand Down

0 comments on commit ea2dfcf

Please sign in to comment.