GLRE
GLRE copied to clipboard
关于 python scripts/run_cdr.py
在执行这个文件的时候,denom = torch.sparse.sum(adj[batch, i], dim=1).to_dense()这一句代码报错。
RuntimeError: sparse tensors do not have strides是什么原因呢?需要怎样进行修改?谢谢
抱歉,我们重新下载和按顺序执行了提供的代码,并未发现这样的错误,你是否对提供的代码进行了一定的修改,或者你能提供下运行的环境吗?我们在给定的运行环境下能成功地运行。
FileNotFoundError: [Errno 2] No such file or directory: './data/CDR/PubMed-CDR.txt' 上述txt文件从哪里获取啊?