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

hi, I got an error #12

Open
opampjohn opened this issue Dec 5, 2020 · 0 comments
Open

hi, I got an error #12

opampjohn opened this issue Dec 5, 2020 · 0 comments

Comments

@opampjohn
Copy link

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'

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