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?