You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can anyone help, whole traceback is:
train.py:10: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(stream)
CustomDatasetDataLoader
dataset [UnalignedDataset] was created
Traceback (most recent call last):
File "train.py", line 14, in
data_loader = CreateDataLoader(opt)
File "D:\EnlightenGAN-master\data\data_loader.py", line 6, in CreateDataLoader
data_loader.initialize(opt)
File "D:\EnlightenGAN-master\data\custom_dataset_data_loader.py", line 39, in initialize
self.dataset = CreateDataset(opt)
File "D:\EnlightenGAN-master\data\custom_dataset_data_loader.py", line 29, in CreateDataset
dataset.initialize(opt)
File "D:\EnlightenGAN-master\data\unaligned_dataset.py", line 65, in initialize
self.A_imgs, self.A_paths = store_dataset(self.dir_A)
File "D:\EnlightenGAN-master\data\image_folder.py", line 39, in store_dataset
assert os.path.isdir(dir), '%s is not a valid directory' % dir
AssertionError: ../final_dataset\trainA is not a valid directory
The text was updated successfully, but these errors were encountered:
can anyone help, whole traceback is:
train.py:10: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(stream)
CustomDatasetDataLoader
dataset [UnalignedDataset] was created
Traceback (most recent call last):
File "train.py", line 14, in
data_loader = CreateDataLoader(opt)
File "D:\EnlightenGAN-master\data\data_loader.py", line 6, in CreateDataLoader
data_loader.initialize(opt)
File "D:\EnlightenGAN-master\data\custom_dataset_data_loader.py", line 39, in initialize
self.dataset = CreateDataset(opt)
File "D:\EnlightenGAN-master\data\custom_dataset_data_loader.py", line 29, in CreateDataset
dataset.initialize(opt)
File "D:\EnlightenGAN-master\data\unaligned_dataset.py", line 65, in initialize
self.A_imgs, self.A_paths = store_dataset(self.dir_A)
File "D:\EnlightenGAN-master\data\image_folder.py", line 39, in store_dataset
assert os.path.isdir(dir), '%s is not a valid directory' % dir
AssertionError: ../final_dataset\trainA is not a valid directory
The text was updated successfully, but these errors were encountered: