Mawube commited on
Commit
b412519
·
verified ·
1 Parent(s): 0e09058

Fix file transformation

Browse files
Files changed (1) hide show
  1. utils.py +2 -1
utils.py CHANGED
@@ -25,7 +25,8 @@ def preprocess_image(image_path):
25
  img = tv_tensors.Image(img)
26
 
27
  # Apply transformations
28
- img = get_transform(img)
 
29
 
30
  return img
31
 
 
25
  img = tv_tensors.Image(img)
26
 
27
  # Apply transformations
28
+ transform = get_transform()
29
+ img = transform(img)
30
 
31
  return img
32