Skip to content

spleen segmentation 3d, RuntimeError: CUDA error: device-side assert triggered #1588

Answered by rijobro
ctpn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, before looking through your code more closely, if the StackOverflow post recommends running on the CPU rather than the GPU, then this can be done by replacing this: device = torch.device("cuda:0") with this: device = torch.device("cpu").

Perhaps try that first and see if the error is more informative.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rijobro
Comment options

rijobro Feb 16, 2021
Collaborator

@ctpn
Comment options

Answer selected by ctpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants