Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion error: ../final_dataset\trainA is not a valid directory #49

Closed
manvirvirk opened this issue May 26, 2020 · 0 comments
Closed

Comments

@manvirvirk
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant