cenguix / Text2KGBench

Repo ISWC-2023 Tekgen Corpus Submission
Apache License 2.0
54 stars 10 forks source link

I'm not sure if this is a runtime error #15

Open jiangsufirstlove opened 1 year ago

jiangsufirstlove commented 1 year ago

In the code line ‘python run_eval.py --eval_config_path config/tekgen_vicuna_config.json’, when I replace the configuration file, not all 7 configuration files in the config directory can run. Specifically, tikgen_alpaca_config.json and tikgen_vicuna_config.json both cannot run and show the following error:

Traceback (most recent call last): File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 355, in sys.exit(main()) ^^^^^^ File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 241, in main system_output = convert_to_dict(read_jsonl(onto['sys'])) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 141, in read_jsonl with open(jsonl_path) as in_file: ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '../../data/baselines/alpaca-lora_13B/llm_responses/ont_1_movie_lora-13b_responses_v2.jsonl'

Traceback (most recent call last): File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 355, in sys.exit(main()) ^^^^^^ File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 241, in main system_output = convert_to_dict(read_jsonl(onto['sys'])) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/wxy/ysh/Text2KGBench/Text2KGBench/src/evaluation/run_eval.py", line 141, in read_jsonl with open(jsonl_path) as in_file: ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '../../data/baselines/vicuna_13B/llm_responses/ont_1_movie_llm_responses.jsonl'

nandana commented 3 weeks ago

This seems to be a relative path resolution error. Were you able to resolve this?