Skip to content

run_retireve_subgraph.py error #16

@DuanyangYuan

Description

@DuanyangYuan

Traceback (most recent call last):
File "/home/horanchen/ydy/study/code/SubgraphRetrievalKBQA-main/src/run_retrieve_subgraph.py", line 9, in
run()
File "/home/horanchen/ydy/study/code/SubgraphRetrievalKBQA-main/src/run_retrieve_subgraph.py", line 5, in run
run_retrieve_subgraph()
File "/home/horanchen/ydy/study/code/SubgraphRetrievalKBQA-main/src/retrieve_subgraph/retrieve_subgraph.py", line 282, in run
train_dataset = load_jsonl(os.path.join(load_data_folder, "train_simple.json"))
File "/home/horanchen/ydy/study/code/SubgraphRetrievalKBQA-main/src/utils.py", line 8, in load_jsonl
data_list.append(json.loads(line))
File "/home/horanchen/anaconda3/envs/sugkbqa/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/home/horanchen/anaconda3/envs/sugkbqa/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/horanchen/anaconda3/envs/sugkbqa/lib/python3.10/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 177891 (char 177890)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions