Skip to content

Commit

Permalink
change the dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
FangYuhai committed May 19, 2023
1 parent 5748021 commit 461a2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GAN/pi-GAN/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, dataset_path, img_size, **kwargs):
super().__init__()
paths = glob.glob(dataset_path)
self.data = []
for path in paths[0:3]:
for path in paths:
self.data = self.data + glob.glob(path + '/rgb/*.png')
assert len(self.data) > 0, "Can't find data; make sure you specify the path to your dataset"
self.transform = transforms.Compose(
Expand Down

0 comments on commit 461a2e8

Please sign in to comment.