Download preprocess/humanparsing/mhp_extension/scripts/make_coco_style_annotation.sh from Navyssh/StyleSync: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/Navyssh/StyleSync/resolve/main/preprocess/humanparsing/mhp_extension/scripts/make_coco_style_annotation.sh
- Command line
-
hf download hf://Navyssh/StyleSync/preprocess/humanparsing/mhp_extension/scripts/make_coco_style_annotation.sh
-
curl -L -o make_coco_style_annotation.sh https://huggingface.co/Navyssh/StyleSync/resolve/main/preprocess/humanparsing/mhp_extension/scripts/make_coco_style_annotation.sh
532 Bytes
| python ./coco_style_annotation_creator/human_to_coco.py \ | |
| --dataset 'CIHP' \ | |
| --json_save_dir './data/CIHP/annotations' \ | |
| --train_img_dir './data/CIHP/Training/Images' \ | |
| --train_anno_dir './data/CIHP/Training/Human_ids' \ | |
| --val_img_dir './data/CIHP/Validation/Images' \ | |
| --val_anno_dir './data/CIHP/Validation/Human_ids' | |
| python ./coco_style_annotation_creator/test_human2coco_format.py \ | |
| --dataset 'CIHP' \ | |
| --json_save_dir './data/CIHP/annotations' \ | |
| --test_img_dir './data/CIHP/Testing/Images' | |