Skip to content

Commit

Permalink
Update cityscapes_for_full_nc_without_gtmap_norm2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-zhang authored Apr 2, 2024
1 parent 2ffb2cf commit 55c3484
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ def read_files(self):
name = os.path.splitext(label_name)[0]
files.append({
"img": image_path,
#"label": label_path,
"name": name,
"weight": 1
})
elif 'val' in self.list_path:
#print(self.list_path)

if self.data_mode =='HDF':
image_root = self.root_HDF_img #修改 HDF的路径
Expand All @@ -109,7 +107,6 @@ def read_files(self):
name = os.path.splitext(image_names[i])[0]
files.append({
"img": image_path,
#"label": label_path,
"name": name,
"weight": 1
})
Expand Down

0 comments on commit 55c3484

Please sign in to comment.