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 while training the model #231

Open
009-AkshayRajput opened this issue Oct 20, 2023 · 0 comments
Open

Assertion Error while training the model #231

009-AkshayRajput opened this issue Oct 20, 2023 · 0 comments

Comments

@009-AkshayRajput
Copy link

While running this command
python3 train.py --dataroot "C:\TEMP\DeblurGAN-master\blurred_sharp\combine" --learn_residual --resize_or_crop crop --fineSize 256

it gives the error:-
Opt.nThreads = 2
Traceback (most recent call last):
File "train.py", line 71, in
data_loader = CreateDataLoader(opt)
File "/mnt/c/DeblurGAN-master/data/data_loader.py", line 4, in CreateDataLoader
data_loader = CustomDatasetDataLoader(opt)
File "/mnt/c/DeblurGAN-master/data/custom_dataset_data_loader.py", line 32, in init
self.dataset = CreateDataset(opt)
File "/mnt/c/DeblurGAN-master/data/custom_dataset_data_loader.py", line 9, in CreateDataset
dataset = AlignedDataset(opt)
File "/mnt/c/DeblurGAN-master/data/aligned_dataset.py", line 17, in init
self.AB_paths = sorted(make_dataset(self.dir_AB))
File "/mnt/c/DeblurGAN-master/data/image_folder.py", line 26, in make_dataset
assert os.path.isdir(dir), '%s is not a valid directory' % dir
AssertionError: C:\DeblurGAN-mastelurred_sharp\combine/train is not a valid directory

What is the issue?
Please clarify it.

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