pyskl icon indicating copy to clipboard operation
pyskl copied to clipboard

diving48 extract skeleton problem

Open tribeband opened this issue 1 year ago • 0 comments

The command is: python tools/data/custom_2d_skeleton.py --non-dist --video-list examples/extract_diving48_skeleton/diving48.list --out examples/extract_diving48_skeleton/diving48_annos.pkl

screens error:

Traceback (most recent call last): File "E:\DL\git\3DAction\pyskl\tools\data\custom_2d_skeleton.py", line 202, in main() File "E:\DL\git\3DAction\pyskl\tools\data\custom_2d_skeleton.py", line 177, in main anno = pose_inference(anno, pose_model, frames, det_results, compress=args.compress) File "E:\DL\git\3DAction\pyskl\tools\data\custom_2d_skeleton.py", line 85, in pose_inference kp[j, i] = item['keypoints'] TypeError: string indices must be integers

seems it is because to enumerate the dict pose, the items is not able to operate with keys and vales.

tribeband avatar May 31 '23 06:05 tribeband