Skip to content

gen_joint_data.py #6

@itisthoughttobemaeri

Description

@itisthoughttobemaeri

Hello,

Thanks for publishing the code of your research. While trying to reproduce the results, the command python3 gen_joint_data.py gets stuck at the element #1370/35208 with the following error:

python3 gen_joint_data.py
xsub train
4%|██▍ | 1370/35208 [00:29<11:56, 47.21it/s]
Traceback (most recent call last):
File "/Users/mari/Desktop/ST-GCN-master/data_gen/gen_joint_data.py", line 164, in
gendata(
File "/Users/mari/Desktop/ST-GCN-master/data_gen/gen_joint_data.py", line 140, in gendata
data = read_xyz(os.path.join(data_path, s), max_body=max_body_kinect, num_joint=num_joint)
File "/Users/mari/Desktop/ST-GCN-master/data_gen/gen_joint_data.py", line 77, in read_xyz
seq_info = read_skeleton_filter(file)
File "/Users/mari/Desktop/ST-GCN-master/data_gen/gen_joint_data.py", line 28, in read_skeleton_filter
skeleton_sequence['numFrame'] = int(f.readline())
ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0

I was wondering if this had something to do with the samples_missing_skeletons.txt file.
I got the dataset from the ROSE lab (https://rose1.ntu.edu.sg/dataset/actionRecognition/).

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions