Open qinhuangdaoStation opened 1 week ago
运行 DCL目录下的train.py的时候,产生了如下报错,然后发现,无论是wos还是dbp,都会有一些xxx.txt的文件错误,请问可以分享相关的数据吗? 打扰了,感谢感谢
label2 = [line.strip() for line in open(os.path.join(data_path, "formatted_data", "label2.txt")).readlines()] FileNotFoundError: [Errno 2] No such file or directory: 'dataset/DBpedia/formatted_data/label2.txt'
The formatted_data files represent the label names for corresponding hierarchical levels, with one label per line.
I have already updated this on Github (e.g. WOS), thank you for your feedback.
运行 DCL目录下的train.py的时候,产生了如下报错,然后发现,无论是wos还是dbp,都会有一些xxx.txt的文件错误,请问可以分享相关的数据吗? 打扰了,感谢感谢
label2 = [line.strip() for line in open(os.path.join(data_path, "formatted_data", "label2.txt")).readlines()] FileNotFoundError: [Errno 2] No such file or directory: 'dataset/DBpedia/formatted_data/label2.txt'