yuxin commited on
Commit
410f9a9
1 Parent(s): 0672fb5
Files changed (1) hide show
  1. model_segvol_single.py +1 -1
model_segvol_single.py CHANGED
@@ -136,7 +136,7 @@ class SegVolProcessor():
136
  self.custom_device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
137
  self.transform4train = transforms.Compose(
138
  [
139
- transforms.AddChanneld(keys=["image"]),
140
  DimTranspose(keys=["image", "label"]),
141
  MinMaxNormalization(),
142
  transforms.CropForegroundd(keys=["image", "label"], source_key="image"),
 
136
  self.custom_device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
137
  self.transform4train = transforms.Compose(
138
  [
139
+ # transforms.AddChanneld(keys=["image"]),
140
  DimTranspose(keys=["image", "label"]),
141
  MinMaxNormalization(),
142
  transforms.CropForegroundd(keys=["image", "label"], source_key="image"),