Hi everyone,
I’ve been trying to do a run for the Evidence Retrieval for Causal Questions shared task, but there seems to be something going on with the input file location. My attempt was to read the file {$inputDatsets}/topics.xml
. But I’m getting a FileNotFoundError, maybe because the path is relative. Do I have to read the input path differently or interpret it as an absolute path?
Thanks for your help and best regards,
Aron
Traceback (most recent call last):
File "/app/src/pipeline.py", line 72, in <module>
main(inp, out, run, short)
File "/app/src/pipeline.py", line 32, in main
ti = TopicIterator(input_path + "/topics.xml")
File "/app/src/causal_retrieval_touche/task_helpers.py", line 30, in __init__
self.tree = ET.parse(data_path)
File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 1222, in parse
tree.parse(source, parser)
File "/usr/local/lib/python3.9/xml/etree/ElementTree.py", line 569, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: **'training-datasets/touche-2023-task-2/touche-23-task-2-validation-re-rank-default-text-20221122-training//topics.xml'**