v2
This commit is contained in:
@@ -38,9 +38,9 @@ class SingleFolderDataset(Dataset):
|
||||
|
||||
@DATASET.register_module()
|
||||
class GenerationUnpairedDataset(Dataset):
|
||||
def __init__(self, root_a, root_b, random_pair, pipeline, with_path=False):
|
||||
self.A = SingleFolderDataset(root_a, pipeline, with_path)
|
||||
self.B = SingleFolderDataset(root_b, pipeline, with_path)
|
||||
def __init__(self, root_a, root_b, random_pair, pipeline_a, pipeline_b, with_path=False):
|
||||
self.A = SingleFolderDataset(root_a, pipeline_a, with_path)
|
||||
self.B = SingleFolderDataset(root_b, pipeline_b, with_path)
|
||||
self.with_path = with_path
|
||||
self.random_pair = random_pair
|
||||
|
||||
|
||||
Reference in New Issue
Block a user