When I ran the sample code, I encountered the following error
Traceback (most recent call last):
File "gcn_LR2_LR_as_nega_big.py", line 75, in
model = Model(inputs=[X_in, A_in], outputs=output)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, *kwargs)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 94, in init
self._init_graph_network(args, **kwargs)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 241, in _init_graph_network
self.inputs, self.outputs)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 1434, in _map_graph_network
tensor_index=tensor_index)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 1421, in build_map
node_index, tensor_index)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 1421, in build_map
node_index, tensor_index)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 1421, in build_map
node_index, tensor_index)
File "/Users/zhangl18/opt/anaconda3/envs/tf/lib/python3.7/site-packages/keras/engine/network.py", line 1393, in build_map
node = layer._inbound_nodes[node_index]
AttributeError: 'NoneType' object has no attribute '_inbound_nodes'
It seems that GraphConv is not recognized as a keras layer. I'm wondering how you resolved this issue. Thank you.
Hi,
When I ran the sample code, I encountered the following error
It seems that GraphConv is not recognized as a keras layer. I'm wondering how you resolved this issue. Thank you.