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

'Node' object has no attribute 'output_masks' #74

Open
AnwarsaeedDMU opened this issue Mar 14, 2023 · 0 comments
Open

'Node' object has no attribute 'output_masks' #74

AnwarsaeedDMU opened this issue Mar 14, 2023 · 0 comments

Comments

@AnwarsaeedDMU
Copy link

I tried to run this project code, and installed all libraries as requirements but face an AttributeError: 'Node' object has no attribute 'output_masks' when I try to run run.py when I follow the error it shows me an error in the model.py lines:
def E2EModel(bert_config_path, bert_checkpoint_path, LR, num_rels): ------->>bert_model = load_trained_model_from_checkpoint(bert_config_path, bert_checkpoint_path, seq_len=None)
Also, the run.py import libraries look like this
12

When I tried to run this code in Visual Studio it get me directly to model.py as seen in the figure.
13

Is anyone solved or run this code so please help me with that? Thanks

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