Skip to content

runtimeerror: tensors must be cuda and dense error with weighted image selection for training #3265

@lleye

Description

@lleye

I get a cuda runtime error when doing weighted image selection in ddp mode. below is how to replicate:

python -m torch.distributed.launch --nproc_per_node .. --image-weights leads to runtimeerror: tensors must be cuda and dense error.

Any idea why this is so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions