haitian-sun / GraftNet

BSD 2-Clause "Simplified" License
268 stars 56 forks source link

answer about webQuestionsSP-test #30

Open xqx1568 opened 3 years ago

xqx1568 commented 3 years ago

I want to get answer of webQuestionsSP-test. Could someone help me? Send me a file about the answers please. When I run the code, I met some problem like this:

Thanks! e2f_out_dim = use_cuda(Variable(torch.sum(entity2fact_mat.to_dense(), dim=1), requires_grad=False)) # batch_size, max_local_entity RuntimeError: cuda runtime error (2) : out of memory at /pytorch/torch/lib/THC/generic/THCStorage.cu:58 mail: xqx1568@163.com