Skip to content

Commit

Permalink
Update jnd_dataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
richzhang authored Dec 19, 2023
1 parent 1fd3552 commit ab167cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/dataset/jnd_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(self, dataroot, load_size=64):
self.p1_paths = sorted(self.p1_paths)

transform_list = []
transform_list.append(transforms.Scale(load_size))
transform_list.append(transforms.Resize(load_size))
transform_list += [transforms.ToTensor(),
transforms.Normalize((0.5, 0.5, 0.5),(0.5, 0.5, 0.5))]

Expand Down

0 comments on commit ab167cb

Please sign in to comment.