在这错了
这个other指的是啥啊,我用torch.tensor(other)不行,把loss_rank和loss_cls转换成tensor也不行,唉,求解,我是菜鸡
打印loss_cls 和 loss_rank 看看是不是都是tensor类型