Skip to content

Commit

Permalink
typo fix in segresnet2d (#365)
Browse files Browse the repository at this point in the history
typo fix in segresnet2d

Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu authored Mar 7, 2024
1 parent 26cb996 commit 9c95bff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def get_normalize_transforms(self):
elif normalize_mode in ["pet"]:
ts.append(Lambdad(keys=key, func=lambda x: torch.sigmoid((x - x.min()) / x.std())))
else:
raise ValueError("Unsupported normalize_mode" + str(self.normalize_mode))
raise ValueError("Unsupported normalize_mode" + str(normalize_mode))

if len(self.extra_modalities) > 0:
ts.append(ConcatItemsd(keys=list(modalities), name=self.image_key)) # concat
Expand Down

0 comments on commit 9c95bff

Please sign in to comment.