Possible need to rename files
While splitting the data file into train, dev and test sets by running the following commands given in the README.md
cd data/monument_300/
python ../../split_in_train_dev_test.py --lines $NUMLINES --dataset data.sparql
I run into the following error
Traceback (most recent call last):
File "../../split_in_train_dev_test.py", line 42, in
which can be solved by renaming the files in monument_300 (data_300.sparql and data_300.en to data.sparql and data.en)
I have a hunch that the issue is not about renaming the files, I am going through the generator.py code to figure it out, check this issue out
The issue is regarding the naming of files pertaining to corresponding instruction in the README.md . The filenames are hard-coded in the source file, the corresponding snippet is:
with open(output_dir + '/data_300.en', file_mode) as english_questions, open(output_dir + '/data_300.sparql', file_mode) as sparql_queries: