facebookresearch / FashionPlus

Fashion++: Minimal Edits for Outfit Improvement
Other
175 stars 39 forks source link

unable to find test.p file #1

Open p9anand opened 4 years ago

p9anand commented 4 years ago

Hi,

Thanks for this amazing library, was just exploring and got following error. Can you please help me with this?

FileNotFoundError: [Errno 2] No such file or directory: 'FashionPlus/generation/datasets/demo/test.p'

Thanks.

wlhsiao commented 4 years ago

Hi, Have you run the run_prepare_data.sh script? The test.p file is one of the outputs generated by this script. Were you able to successfully run the data preparation script?

flavz27 commented 4 years ago

Hello,

I'm having the same issue while launching the ./run_prepare_data.sh command.


─$ ./run_prepare_data.sh                                                                                    1 ↵
Saving pickle input file for generators at '/Users/.../FashionPlus/generation/datasets/demo/test.p
Traceback (most recent call last):
  File "prepare_input_data.py", line 70, in <module>
    with open(opt.output_pickle_file, 'wb') as writefile:
IOError: [Errno 2] No such file or directory: '/Users/.../FashionPlus/generation/datasets/demo/test.p'```
flavz27 commented 4 years ago

Okay I found a fix. Just create the missing directories

nikhilpanchal48 commented 4 years ago

@flavz27 can you please explain how did you fix the error?

https://github.com/facebookresearch/FashionPlus/issues/1#issuecomment-572602015

flavz27 commented 4 years ago

@flavz27 can you please explain how did you fix the error?

#1 (comment)

As I said, just create the missing directories...