Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
surajpaib committed Nov 14, 2024
1 parent 938822c commit 3d2014e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fmcib/preprocessing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
def preprocess(image, spatial_size=(50, 50, 50)):
T = get_transforms(spatial_size=spatial_size)
return T(image)


def image_as_tensor(x):
return x["image_path"].as_tensor()


def get_transforms(spatial_size=(50, 50, 50), precropped=False):
if precropped:
Expand Down

0 comments on commit 3d2014e

Please sign in to comment.