chaneyddtt / UDA-Animal-Pose

MIT License
102 stars 12 forks source link

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

Open Kana-alt opened 3 years ago

Kana-alt commented 3 years ago

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 commented 3 years ago

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

Kana-alt commented 3 years ago

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

However, an error occurred.

chaneyddtt commented 3 years ago

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 commented 3 years ago

Thank you! I've solved the problem.