Skip to content

"On Windows 10, with device set to cuda:0, no valid mask is produced; however, normal results can be obtained when running on the CPU." #1

@sunanlin13174

Description

@sunanlin13174

"Thank you for your outstanding code contribution; it's been incredibly helpful. I successfully ran and debugged the project step by step on Windows 10 following the tutorial. When running on the CPU, the project works normally and produces a non-zero mask segmentation map. However, when I switch to cuda:0, the resulting mask image is completely black (all values are zero). There are no error messages, CUDA is definitely being called, and my model was also exported based on python cspam_onnx.py --device cuda:0. Do you know what might be causing this?"

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