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

n_vocab AttributeError #225

Open
SODAsoo07 opened this issue Oct 11, 2021 · 0 comments
Open

n_vocab AttributeError #225

SODAsoo07 opened this issue Oct 11, 2021 · 0 comments

Comments

@SODAsoo07
Copy link

Traceback (most recent call last):
File "train.py", line 973, in
model = build_model().to(device)
File "train.py", line 816, in build_model
n_vocab=_frontend.n_vocab,
AttributeError: 'NoneType' object has no attribute 'n_vocab'

If you change the frontend of hparams.py to jp and run train.py, the error is output

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