my pytorch version is 1.7.1
cuda version = 11.1 (because of RTX 3090)
when run python train.py ../configs/car_cfg.py
RuntimEerror:all input tensors must be on the same device. received cuda:0 and cpu
the error is in this line
"/SA-SSD-master/mmdet/models/single_stage_heads/ssd_rotate_head.py" line 368 in get_guided_anchors
top_labels = torch.cat([gt_lbls,top_labels],0)
my pytorch version is 1.7.1 cuda version = 11.1 (because of RTX 3090) when run
python train.py ../configs/car_cfg.py
RuntimEerror:all input tensors must be on the same device. received cuda:0 and cpu the error is in this line "/SA-SSD-master/mmdet/models/single_stage_heads/ssd_rotate_head.py" line 368 in get_guided_anchors
top_labels = torch.cat([gt_lbls,top_labels],0)