Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'trans_result/ja/v5/embedding/TRANS.txt.new' #3

Open
ntanhhus opened this issue Oct 23, 2019 · 0 comments

Comments

@ntanhhus
Copy link

Hello, I am trying to run the evaluation for the Japanese SQuAD, but I got the following error:

Traceback (most recent call last):
File "main.py", line 63, in
main()
File "main.py", line 57, in main
args.func(args)
File "/home/ubuntu/tanh/extractive_rc_by_runtime_mt/rc/evaluate_mlqa.py", line 493, in evaluate_from_args
instances = dataset_reader.read("inputdata_tmp/ja_question_v2.csv")
File "/home/ubuntu/tanh/extractive_rc_by_runtime_mt/env/lib/python3.6/site-packages/allennlp/data/dataset_readers/dataset_reader.py", line 73, in read
instances = [instance for instance in Tqdm.tqdm(instances)]
File "/home/ubuntu/tanh/extractive_rc_by_runtime_mt/env/lib/python3.6/site-packages/allennlp/data/dataset_readers/dataset_reader.py", line 73, in
instances = [instance for instance in Tqdm.tqdm(instances)]
File "/home/ubuntu/tanh/extractive_rc_by_runtime_mt/env/lib/python3.6/site-packages/tqdm/std.py", line 1081, in iter
for obj in iterable:
File "/home/ubuntu/tanh/extractive_rc_by_runtime_mt/rc/data_ml.py", line 444, in _read
trans_context_f = open(self.context_trans_file_path)
FileNotFoundError: [Errno 2] No such file or directory: 'trans_result/ja/v5/embedding/TRANS.txt.new'

I've downloaded the models jaen_nmt_params.tar.gz and rc_params.tar.gz and followed the instructions that is similar for the French SQuAD but I could not make it work. Did I miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant