UDA-Animal-Pose icon indicating copy to clipboard operation
UDA-Animal-Pose copied to clipboard

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

Open Kana-alt opened this issue 3 years ago • 4 comments

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'

Kana-alt avatar Jun 09 '21 05:06 Kana-alt

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

chaneyddtt avatar Jun 09 '21 07:06 chaneyddtt

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

However, an error occurred.

Kana-alt avatar Jun 09 '21 07:06 Kana-alt

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.

chaneyddtt avatar Jun 09 '21 08:06 chaneyddtt

Thank you! I've solved the problem.

Kana-alt avatar Jun 11 '21 07:06 Kana-alt