Skip to content

Commit

Permalink
Update train_loader.py
Browse files Browse the repository at this point in the history
Commented out the line 100 that merges the inst_type==5 with the first.
  • Loading branch information
zeeshanalipanhwar authored Aug 7, 2021
1 parent a0f80c7 commit 786d921
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 786d921

Please sign in to comment.