Skip to content

AttributeError: 'SharedWeightLayer' object has no attribute 'inbound_nodes' #1

Description

@HappyLife-together

Traceback (most recent call last):
File "run.py", line 68, in
train.main(save_path, params)
File "/home/train.py", line 152, in main
char_dim, use_feat, gating_fn, words).build_network()
File "/home/rnet.py", line 134, in build_network
v = SharedWeight(size=(H, 1), name='v')
File "/home/rnet.py", line 88, in SharedWeight
outputs = input_layer.inbound_nodes[0].output_tensors
AttributeError: 'SharedWeightLayer' object has no attribute 'inbound_nodes'

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