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

AssertionError: data is not a valid directory #28

Closed
stoneshi-1999 opened this issue Jan 20, 2022 · 1 comment
Closed

AssertionError: data is not a valid directory #28

stoneshi-1999 opened this issue Jan 20, 2022 · 1 comment

Comments

@stoneshi-1999
Copy link

stoneshi-1999 commented Jan 20, 2022

Hi ! Cui , the work is really COOOOL ! Thanks for ur code. But after setting the environment,I am gonna set the dataset,when I Run python tools/generate_fashion_dataset.py --dataroot $DATAROOT to split the data. (which was the step3 in the Dataset)I met this error...Hope u can help me,thanks a lot❤


Traceback (most recent call last):
File ".\tools\generate_fashion_datasets.py", line 77, in
make_dataset(args.dataroot)
File ".\tools\generate_fashion_datasets.py", line 31, in make_dataset
assert os.path.isdir(dataroot), '%s is not a valid directory' % dataroot
AssertionError: data is not a valid directory


Do I need to change the dataroot in the demo.ipynb?
dataroot = '/shared/rsaas/aiyucui2/inshop/fashion_yifang'

@cuiaiyu
Copy link
Owner

cuiaiyu commented Jan 20, 2022

  1. Please first mkdir $DATAROOT and copy the deepfahsion dataset and all other required files into $DATAROOT (so have $DATAROOT exists)

2.Yes, please change the opt.dataroot to the path where you have deepfashion dataset prepared. Thanks.

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

2 participants