mmaction2
mmaction2 copied to clipboard
[Bug] ntu_pose_extraction in tools/data/skeleton gives keypoints in COCO format instead of NTU RGBD
Branch
main branch (1.x version, such as v1.0.0
, or dev-1.x
branch)
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version.
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