open-mmlab / mmaction2

OpenMMLab's Next Generation Video Understanding Toolbox and Benchmark

Home Page:https://mmaction2.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

PulkitMishra opened this issue · 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