mmaction2 icon indicating copy to clipboard operation
mmaction2 copied to clipboard

[Bug] ntu_pose_extraction in tools/data/skeleton gives keypoints in COCO format instead of NTU RGBD

Open PulkitMishra opened this issue 1 year ago • 1 comments

Branch

main branch (1.x version, such as v1.0.0, or dev-1.x branch)

Prerequisite

Environment

Everything is installed and works correctly

Describe the bug

According to the README

If you want to generate 2D skeleton annotations of specified video, please install mmdetection and mmpose first, then use the following script to extract skeleton annotations of NTURGB+D video:

python ntu_pose_extraction.py S001C001P001R001A001_rgb.avi S001C001P001R001A001.pkl

this does give me keypoints but the shape is (1, 98, 17, 2) i.e 1 person, 98 frames, 17 keypoints, 2 coordinates. ie COCO format of 17 keypoints. It should be resulting in 25 keypoints instead.

Reproduces the problem - code sample

No response

Reproduces the problem - command or script

No response

Reproduces the problem - error message

No response

Additional information

No response

PulkitMishra avatar Dec 17 '23 04:12 PulkitMishra