Open iooops opened 1 year ago
candidate_starts = candidate_starts.view(-1)[flattened_candidate_mask] # [num_candidates]
RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)
遇到了同样的问题,请问你解决了吗,是怎么解决的?
没有
也遇到了这个gpu和cpu乱用的问题,求解
出问题的代码添加to("cuda:0")
跑训练的时候报错