Skip to content

n_vocab AttributeError #225

@SODAsoo07

Description

@SODAsoo07

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions