Skip to content

Data error of 000.json ? #2

@MingCongSu

Description

@MingCongSu

Thanks for the great dance dataset and visualization tool!

I was trying to explore the data and met some problems when converting motion 000.json to animation clip in Unity.
I did the conversion as follows:
image
and it resulted in the following error:
image

It's so weird cause only 000.json exists in this problem.

Moreover, when I tried to load the JSON file with Python code to see if the shape was correct

motion = json.load(open(path/to/PhantomDanceDatav1.1/motion/000.json))
print(np.array(motion["rotations"]).shape)

it outputs:

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4106,) + inhomogeneous part.

Any replies are welcome.

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