Skip to content

RuntimeError: all tensors must be on devices[0] #118

@2429581027

Description

@2429581027

When I run the code
CUDA_VISIBLE_DEVICES=0,1,2,3 python train.py -c=configs/m2det512_vgg.py --ngpu 4 -t True
There is a error:
RuntimeError: all tensors must be on devices[0]
Does anyone know how to solve it? I tried a lot of methods but they couldn't do it.eg: link Thank you very much!

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