Skip to content

bug fix device str#108

Open
GabrielCabas wants to merge 1 commit into
mahmoodlab:mainfrom
GabrielCabas:bug_fix
Open

bug fix device str#108
GabrielCabas wants to merge 1 commit into
mahmoodlab:mainfrom
GabrielCabas:bug_fix

Conversation

@GabrielCabas
Copy link
Copy Markdown
Contributor

Device must be a str to apply split().
In notebook 3, the function is called using a torch.device object.
This line solves the bug :)
Closes #30

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.

AttributeError: 'torch.device' object has no attribute 'split'

1 participant