We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec7ae3 commit 07ae2e9Copy full SHA for 07ae2e9
data/colorization_dataset.py
@@ -36,7 +36,7 @@ def __init__(self, opt):
36
opt (Option class) -- stores all the experiment flags; needs to be a subclass of BaseOptions
37
"""
38
BaseDataset.__init__(self, opt)
39
- self.dir = os.path.join(opt.dataroot)
+ self.dir = os.path.join(opt.dataroot, opt.phase)
40
self.AB_paths = sorted(make_dataset(self.dir, opt.max_dataset_size))
41
assert(opt.input_nc == 1 and opt.output_nc == 2 and opt.direction == 'AtoB')
42
self.transform = get_transform(self.opt, convert=False)
0 commit comments