Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix new dataset API coordinates reshape bug #405

Merged
merged 1 commit into from
Dec 16, 2019
Merged

Conversation

yueyericardo
Copy link
Contributor

Error happend at truncating redundant padding.

  File "../ANI_D/data.py", line 569, in collate_fn
    chunks_batch_coordinates[i] = c.reshape(c.shape[0], -1, 3)
RuntimeError: shape '[115, -1, 3]' is invalid for input of size 15410

by change padding value to np.inf

@zasdfgbnm zasdfgbnm merged commit 987711c into master Dec 16, 2019
@zasdfgbnm zasdfgbnm deleted the yueyericardo-patch-1 branch December 16, 2019 09:08
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.

2 participants