From 55c34848be4630b6175f9e048ef01b7f1020d54c Mon Sep 17 00:00:00 2001 From: Jiaqing Zhang <54712081+icey-zhang@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:37:07 +0800 Subject: [PATCH] Update cityscapes_for_full_nc_without_gtmap_norm2.py --- lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py b/lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py index 97ac87a..9c4d326 100644 --- a/lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py +++ b/lib/datasets/cityscapes_for_full_nc_without_gtmap_norm2.py @@ -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的路径 @@ -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 })