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

"Training on other datasets" directions missing required flag #15

Closed
neubig opened this issue Jun 10, 2020 · 1 comment
Closed

"Training on other datasets" directions missing required flag #15

neubig opened this issue Jun 10, 2020 · 1 comment

Comments

@neubig
Copy link

neubig commented Jun 10, 2020

This command in the "Training on other datasets" of the README causes the following error:

(python3) gneubig@ogma:~/work/udify$ python train.py --config config/ud/en/udify_bert_train_en_ewt.json --name en_ewt
Traceback (most recent call last):
  File "train.py", line 46, in <module>
    train_path = glob.glob(pathname).pop()
IndexError: pop from empty list

Adding the --dataset_dir resolves the error.

python train.py --config config/ud/en/udify_bert_train_en_ewt.json --name en_ewt --dataset_dir data/ud-treebanks-v2.3/
@Hyperparticle
Copy link
Owner

Good catch. Updated the README.

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

2 participants