Skip to content

Try to make the wn18rr entity file but failed #55

@qiongcheng5

Description

@qiongcheng5

Could you help check whether I missed something when trying your package for Worknet?

$ python build_entity_datasets.py --kb_name wn18rr

Traceback (most recent call last):

File "/home/vagrant/rbox/LLMs4OL/TaskA/build_entity_datasets.py", line 11, in

dataset_json, dataset_stats = wn_builder.build()

File "/home/vagrant/rbox/LLMs4OL/TaskA/src/entity_dataset_builder.py", line 16, in build

self.load_artifcats()

File "/home/vagrant/rbox/LLMs4OL/TaskA/src/entity_dataset_builder.py", line 42, in load_artifcats

train, valid, test = self.loader.load_df(self.config.processed_entity_train), \

File "/home/vagrant/rbox/LLMs4OL/TaskA/datahandler/datareader.py", line 51, in load_df

data_frame = pd.read_csv(path)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1026, in read_csv

return _read(filepath_or_buffer, kwds)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 620, in _read

parser = TextFileReader(filepath_or_buffer, **kwds)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1620, in init

self._engine = self._make_engine(f, self.engine)

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1880, in _make_engine

self.handles = get_handle(

File "/home/vagrant/rbox/LLMs4OL/llm4ol_py39_env/lib/python3.9/site-packages/pandas/io/common.py", line 873, in get_handle

handle = open(

FileNotFoundError: [Errno 2] No such file or directory: '../datasets/TaskA/WN18RR/processed-3/entity_train.csv'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions