Skip to content

Conversation

bring-nirachornkul
Copy link

Enable the script to generate Mean.npy and Std.npy despite data inconsistencies, making it usable for training.

The script crashed with ValueError: all the input array dimensions for the concatenation axis must match exactly because np.concatenate couldn’t handle files with differing seq_len values (263 vs. 251) in ./HumanML3D/new_joint_vecs/.

Introduced a check to skip files with non-matching sequence lengths or NaN values. Added tracking for skipped files and a final summary to quantify the impact (e.g., 21% skipped).

Enable the script to generate Mean.npy and Std.npy despite data inconsistencies, making it usable for training.

The script crashed with ValueError: all the input array dimensions for the concatenation axis must match exactly because np.concatenate couldn’t handle files with differing seq_len values (263 vs. 251) in ./HumanML3D/new_joint_vecs/.

Introduced a check to skip files with non-matching sequence lengths or NaN values.
Added tracking for skipped files and a final summary to quantify the impact (e.g., 21% skipped).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant