You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
2429581027
changed the title
AttributeError: 'DataParallel' object has no attribute 'model'
RuntimeError: all tensors must be on devices[0]
Apr 30, 2020
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!
The text was updated successfully, but these errors were encountered: