CasRel icon indicating copy to clipboard operation
CasRel copied to clipboard

'Node' object has no attribute 'output_masks'

Open AnwarsaeedDMU opened this issue 1 year ago • 0 comments

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

AnwarsaeedDMU avatar Mar 14 '23 05:03 AnwarsaeedDMU