The official repo for [NeurIPS'22] "ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation" and [TPAMI'23] "ViTPose++: Vision Transformer for Generic Body Pose Estimation"
It reminds me coco annotation file?
File "ViTPose/demo/top_down_img_demo.py", line 57, in main
coco = COCO(args.json_file)
File "anaconda3/envs/pose/lib/python3.9/site-packages/xtcocotools/coco.py", line 93, in init
with open(annotation_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: ''
If you are using demo/top_down_img_demo.py you need to add the .json gt file that's coco formatted and give parameter --img-root the folder containing images with the same id as .json file.
Hi, I tried following code to run inference on single image with the downloaded ViT-large model:
It reminds me coco annotation file? File "ViTPose/demo/top_down_img_demo.py", line 57, in main coco = COCO(args.json_file) File "anaconda3/envs/pose/lib/python3.9/site-packages/xtcocotools/coco.py", line 93, in init with open(annotation_file, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: ''