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

No such file or directory: './animal_data/clean_data/keypoints_18.json' #2

Open
Kana-alt opened this issue Jun 9, 2021 · 4 comments

Comments

@Kana-alt
Copy link

Kana-alt commented Jun 9, 2021

How can I solve the following error?

python synthetic_animal_sp_all.py
Traceback (most recent call last):
File "synthetic_animal_sp_all.py", line 255, in
generate_data_file()
File "synthetic_animal_sp_all.py", line 64, in generate_data_file
with open('{}/clean_data/keypoints_18.json'.format(data_dir), 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: './animal_data/clean_data/keypoints_18.json'

@chaneyddtt
Copy link
Owner

Hi @Kana-alt,
you can download or generate the keypoints data according to the data preprocess step.

@Kana-alt
Copy link
Author

Kana-alt commented Jun 9, 2021

I tried to generate keypoint data by running "synthetic_animal_sp_all.py".

However, an error occurred.

@chaneyddtt
Copy link
Owner

Can you create a folder 'clean_data' under the 'animal_data' directory, and then run the code again? Please let me know if the error still occurs.

@Kana-alt
Copy link
Author

Thank you!
I've solved the problem.

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