Skip to content

RuntimeError: CUDA error: device-side assert triggered #31

@FYL0123

Description

@FYL0123

Hello, I used a single 4090GPU to try to reproduce your work and the following error occurred. Do you have a solution?

thresh_mask = logits.ge(thresh).bool() * (target != 255).bool()
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions