open-mmlab / mmaction2

OpenMMLab's Next Generation Video Understanding Toolbox and Benchmark
https://mmaction2.readthedocs.io
Apache License 2.0
4.28k stars 1.25k forks source link

[Bug] Kinetics 400 skeleton not loading #2577

Open ggggg111 opened 1 year ago

ggggg111 commented 1 year ago

Branch

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

Prerequisite

Environment

-

Describe the bug

I have followed the instructions of setting up the kinetics 400 2d poses correctly. However, what transforms do I need to add to the training pipeline? LoadKineticsPose gives a key error because the "filename" key is not in the results dictionary.

My current transform looks like this:

ann_file = 'data/skeleton/k400_2d.pkl'
train_pipeline = [
    dict(type='LoadKineticsPose'),
    dict(type='PreNormalize2D'),
    dict(type='GenSkeFeat', dataset='coco', feats=['j']),
    dict(type='UniformSampleFrames', clip_len=100),
    dict(type='PoseDecode'),
    dict(type='FormatGCNInput', num_person=2),
    dict(type='PackActionInputs')
]

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

Dai-Wenxun commented 1 year ago

We'll fix it and support the training on k400 skeleton this week.

ggggg111 commented 1 year ago

Very much appreciated! Waiting for the update, I'll keep the issue open until then if that's OK. Thank you!

ggggg111 commented 1 year ago

@Dai-Wenxun Hi, I was wondering how the progress on supporting k400 is going. I investigated quite the issue and I can offer some help if needed. Thank you.