Skip to content
Snippets Groups Projects

Update outdated code

Open manli requested to merge github/fork/Bobholamovic/master into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -44,4 +44,4 @@ class LebedevDataset(CDDataset):
@@ -44,4 +44,4 @@ class LebedevDataset(CDDataset):
def fetch_label(self, label_path):
def fetch_label(self, label_path):
# To {0,1}
# To {0,1}
return (super().fetch_label(label_path) / 255.0).astype(np.uint8)
return (super().fetch_label(label_path) > 127).astype(np.uint8)
\ No newline at end of file
\ No newline at end of file
Loading