ValueEval2023: FileNotFoundError: [Errno 2] No such file or directory

===> load arguments.
Traceback (most recent call last):
File “/workspace/predict.py”, line 240, in
df_arguments = load_arguments_from_tsv(inputfile, default_usage=‘test’)
File “/workspace/predict.py”, line 47, in load_arguments_from_tsv
dataframe = pd.read_csv(filepath, encoding=‘utf-8’, sep=‘\t’, header=0)
File “/opt/conda/lib/python3.9/site-packages/pandas/util/_decorators.py”, line 211, in wrapper
return func(*args, **kwargs)
File “/opt/conda/lib/python3.9/site-packages/pandas/util/_decorators.py”, line 331, in wrapper
return func(*args, **kwargs)
File “/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py”, line 950, in read_csv
return _read(filepath_or_buffer, kwds)
File “/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py”, line 605, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File “/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py”, line 1442, in init
self._engine = self._make_engine(f, self.engine)
File “/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py”, line 1735, in _make_engine
self.handles = get_handle(
File “/opt/conda/lib/python3.9/site-packages/pandas/io/common.py”, line 865, in get_handle
handle = open(handle, ioargs.mode)
FileNotFoundError: [Errno 2] No such file or directory: ‘training-datasets/valueeval-at-semeval-2023-human-value-detection/arguments-acl22-20221103-training//arguments.tsv’

1 Like

Dear participant,

Thank you for posting this!
We had a misconfiguration and the file was named arguments-training.tsv instead of arguments.tsv.

I now have changed this (cc @johanneskiesel), so that the file has the name arguments.tsv.

Can you please test your approach again to see if it now works?
Thanks in advance!

Best regards,

Maik