SimGNN icon indicating copy to clipboard operation
SimGNN copied to clipboard

hi, I got an error

Open opampjohn opened this issue 4 years ago • 0 comments

hi~ I had an error following... Could you know the clue of this error?,,

and,, i wanna know your tensor version.

thank you advance!!

==============================================

Traceback (most recent call last): File "./src/main.py", line 81, in main() File "./src/main.py", line 60, in main model = simgnn(parser) File "D:\ys_wj\SimGNN-keras\SimGNN-main\src\simgnn.py", line 28, in simgnn x = shared_attention(x[0]) File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 721, in call base_layer_utils.create_keras_history(inputs) File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 189, in create_keras_history _, created_layers = _create_keras_history_helper(tensors, set(), []) File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\keras\engine\base_layer_utils.py", line 260, in _create_keras_history_helper layer_inputs, op.outputs) File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 2032, in _add_inbound_node input_tensors) File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\util\nest.py", line 569, in map_structure structure[0], [func(*x) for x in entries], File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\util\nest.py", line 569, in structure[0], [func(*x) for x in entries], File "C:\Users\numa97\Anaconda3\envs\gnn\lib\site-packages\tensorflow_core\python\keras\engine\base_layer.py", line 2031, in inbound_layers = nest.map_structure(lambda t: t._keras_history.layer, AttributeError: 'tuple' object has no attribute 'layer'

opampjohn avatar Dec 05 '20 05:12 opampjohn