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

Fixing issue #57 related to cuda #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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