Skip to content

keypints don't work #10

@PythonImageDeveloper

Description

@PythonImageDeveloper

Hi ,
I want to only have some category but when i use arg.type=keypoints i got error :

Traceback (most recent call last):
File "anno_coco2voc.py", line 154, in
main(args)
File "anno_coco2voc.py", line 145, in main
parse_keypoints(content, args.output_dir)
File "anno_coco2voc.py", line 115, in parse_keypoints
keypoints = dict(zip(range(1, len(content['categories'][0]['keypoints'])+1), content['categories'][0]['keypoints']))
KeyError: 'keypoints'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions