Skip to content

Commit

Permalink
Merge pull request vqdang#155 from zeeshanalipanhwar/patch-1
Browse files Browse the repository at this point in the history
FIX: remove artifact merging
  • Loading branch information
vqdang authored Aug 7, 2021
2 parents a0f80c7 + 786d921 commit 61ffeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataloader/train_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __getitem__(self, idx):
if self.with_type:
type_map = (ann[..., 1]).copy()
type_map = cropping_center(type_map, self.mask_shape)
type_map[type_map == 5] = 1 # merge neoplastic and non-neoplastic
#type_map[type_map == 5] = 1 # merge neoplastic and non-neoplastic
feed_dict["tp_map"] = type_map

# TODO: document hard coded assumption about #input
Expand Down

0 comments on commit 61ffeca

Please sign in to comment.