ArticlePairMatching icon indicating copy to clipboard operation
ArticlePairMatching copied to clipboard

FileNotFoundError: [Errno 2] File b'../../../../data/raw/event-story-cluster/event_story_cluster.txt' does not exist

Open empty-id opened this issue 5 years ago • 11 comments

image

empty-id avatar Dec 19 '19 10:12 empty-id

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.

empty-id avatar Dec 19 '19 10:12 empty-id

遇到了,然后我把那个注释掉了,能正常运行,就是比较慢。

2hip3ng avatar Dec 20 '19 06:12 2hip3ng

我注释掉了 https://github.com/BangLiu/ArticlePairMatching/blob/f9cf63ad4c398d377f3d0291f552fb99f81020ef/src/models/CCIG/data/resource_loader.py#L13 下面的关于datafile的几行,但是现在报这个错误了 image

empty-id avatar Dec 21 '19 07:12 empty-id

你好,我认为可能是您没有下载成功数据集的原因。您是否使用了git-lfs进行克隆仓库呢?

TianhaoFu avatar Mar 23 '20 17:03 TianhaoFu

请问这个问题解决了吗?

Berlin-98 avatar Jul 17 '20 08:07 Berlin-98

请问这个问题解决了吗?

通过 git ifs clone 就可以了。 前提需要安装git-ifs,百度一下就有。 我是centos,通过这个安装的 https://blog.csdn.net/liuxiaoheng1992/article/details/83183806

EricWang1024 avatar Sep 07 '20 08:09 EricWang1024

请问这个问题解决了吗?

通过 git ifs clone 就可以了。 前提需要安装git-ifs,百度一下就有。 我是centos,通过这个安装的 https://blog.csdn.net/liuxiaoheng1992/article/details/83183806

感谢!!

Berlin-98 avatar Sep 08 '20 00:09 Berlin-98

用git-lfs 下载下来的包 也没有那个文件呀

superSx avatar Nov 05 '20 17:11 superSx

我也遇到相同的问题了,请问最后怎么解决的

ZzyChris97 avatar Dec 28 '20 08:12 ZzyChris97

使用git lfs clone下来的项目也没有event_story_cluster.txt,作者给的百度网盘链接里也没有,有复现出来的人能提供一份百度云链接吗?

surzia avatar Feb 08 '21 06:02 surzia

不需要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

Berlin-98 avatar Feb 08 '21 10:02 Berlin-98