ArticlePairMatching
ArticlePairMatching copied to clipboard
FileNotFoundError: [Errno 2] File b'../../../../data/raw/event-story-cluster/event_story_cluster.txt' does not exist
Hi, I see there are similar issues (e.g. https://github.com/BangLiu/ArticlePairMatching/issues/4), and you said you uploaded the idf file. But I don't know what it means. So I have to open this issue because the code is not running normally.
遇到了,然后我把那个注释掉了,能正常运行,就是比较慢。
我注释掉了 https://github.com/BangLiu/ArticlePairMatching/blob/f9cf63ad4c398d377f3d0291f552fb99f81020ef/src/models/CCIG/data/resource_loader.py#L13 下面的关于datafile的几行,但是现在报这个错误了

你好,我认为可能是您没有下载成功数据集的原因。您是否使用了git-lfs进行克隆仓库呢?
请问这个问题解决了吗?
请问这个问题解决了吗?
通过 git ifs clone 就可以了。 前提需要安装git-ifs,百度一下就有。 我是centos,通过这个安装的 https://blog.csdn.net/liuxiaoheng1992/article/details/83183806
请问这个问题解决了吗?
通过 git ifs clone 就可以了。 前提需要安装git-ifs,百度一下就有。 我是centos,通过这个安装的 https://blog.csdn.net/liuxiaoheng1992/article/details/83183806
感谢!!
用git-lfs 下载下来的包 也没有那个文件呀
我也遇到相同的问题了,请问最后怎么解决的
使用git lfs clone下来的项目也没有event_story_cluster.txt,作者给的百度网盘链接里也没有,有复现出来的人能提供一份百度云链接吗?
不需要event_story_cluster.txt,那部分代码的目的在于生成IDF,作者已经把IDF文件放出来了,所以只需要保留IDF文件地址和load_idf函数就可以了
def load_IDF(data):
if data == "event_story":
idffile = "../../../../data/processed/event-story-cluster/IDF.txt"
IDF = load_idf(idffile)
print("loaded IDF ...")
return IDF