Kristy-0205

Results 5 comments of Kristy-0205

我尝试在报错这行“a = torch.bmm(e.transpose(1, 2), v)”之后加入“v = torch.tensor(v, dtype=torch.float32)”将v转换成float向量,但是遇到了另一个报错: Traceback (most recent call last): File "train.py", line 294, in main() File "train.py", line 290, in main ins.run() File "train.py", line 170,...

@songyouwei 目前还是没有解决,请问您知道如何修改吗?

嗯嗯,安装了requirements.txt,除了用了较小的glove以外,别的地方没有改动。

@gpf951101 您加了这行是可以运行的吗?我刚刚去试了一下,但是报错“RuntimeError: Expected object of scalar type Double but got scalar type Float for argument #3 'mat1' in call to _th_addmm_”

@GeneZC 是的,在CPU上跑的。