-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hello, I noticed that in your code data_loader.py, you loaded the source and target labels as
lab_source = Image.open(lab_source_path) lab_source = lab_source.resize( [self.opt.loadSize[0], self.opt.loadSize[1]], Image.BICUBIC) img_source, lab_source, scale = paired_transform( self.opt, img_source, lab_source) lab_source = self.transform_no_augment(lab_source)
When transforming lab_source, transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
is applied.
However, isn't this transforming expected to be applied to a 3-channel image? Should we use transforms.Normalize(0.5, 0.5)
here?
Metadata
Metadata
Assignees
Labels
No labels