Skip to content

Commit

Permalink
fix bug in loading ground truth
Browse files Browse the repository at this point in the history
  • Loading branch information
Guotai Wang committed May 16, 2018
1 parent bfb5ab6 commit b83c818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def load_data(self):
bbox.append([bbmin, bbmax])
in_size.append(volume_size)
if(self.with_ground_truth):
label = self.__load_one_volume(self.patient_names[i], self.label_postfix)
label, _ = self.__load_one_volume(self.patient_names[i], self.label_postfix)
label = crop_ND_volume_with_bounding_box(label, bbmin, bbmax)
if(self.data_resize):
label = resize_3D_volume_to_given_shape(label, self.data_resize, 0)
Expand Down

0 comments on commit b83c818

Please sign in to comment.