RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and
问题描述:Traceback(mostrecentcalllast):File"train_cls.py",line445,intrain(cfg=cfg)File"train_cls.py",line288,intraincls1,cam1,cls2,cam2,cls3,cam3,cls4,cam4,attns=wetr(inputs,txt_features)File"/home/pengzh