Skip to content

Conversation

JaoCR
Copy link

@JaoCR JaoCR commented Oct 26, 2022

When using cuda, the code is trying to take the argmin of an array that's being constructed with torch.Tensor objects, which results in an error that aborts the entire execution. See issue #57 for more info.

@JaoCR JaoCR marked this pull request as ready for review October 26, 2022 16:12
@JaoCR
Copy link
Author

JaoCR commented Oct 26, 2022

On the issue thread I mentioned there was another line that needed fixing, but that was a mistake, this change is already sufficient. But let me know if I should change the code so it only checks for the type of one of the error variables, I can do that here before the merge.

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