Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
taesungp committed Apr 14, 2019
1 parent a0a1382 commit 90eca71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/ade20k_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_paths(self, opt):
return label_paths, image_paths, instance_paths

# In ADE20k, 'unknown' label is of value 0.
# Change the 'unknown' label to 255 to match other datasets.
# Change the 'unknown' label to the last label to match other datasets.
def postprocess(self, input_dict):
label = input_dict['label']
label = label - 1
Expand Down

0 comments on commit 90eca71

Please sign in to comment.