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

Fail to run train_single #35

Closed
diansheng opened this issue Aug 24, 2019 · 1 comment
Closed

Fail to run train_single #35

diansheng opened this issue Aug 24, 2019 · 1 comment

Comments

@diansheng
Copy link

Great repo. However, the train_single script seems to be broken.

  File "train_single.py", line 223, in <module>
    main()
  File "train_single.py", line 74, in main
    full_tokenizer = tokenization_bert.BertTokenizer(vocab_file=args.tokenizer_path)
UnboundLocalError: local variable 'tokenization_bert' referenced before assignment
@Morizeyao
Copy link
Owner

Morizeyao commented Aug 25, 2019

let me solve this.

OK应该修好了

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