You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keep_dims is deprecated, use keepdims instead
Traceback (most recent call last):
File "D:/Gra_stu/Pratice/keras-gat-master/examples/gat.py", line 36, in
H = GraphAttention(8, attn_heads=8, attn_heads_reduction='concat', dropout_rate=0.6, activation='elu', kernel_regularizer=l2(5e-4), attn_kernel_regularizer=l2(5e-4))([H]+G)
File "D:\Downloads\Anaconda\envs\keras-gcn\lib\site-packages\keras\engine\topology.py", line 603, in call
output = self.call(inputs, **kwargs)
File "D:\Gra_stu\Pratice\keras-gat-master\keras_gat\graph_attention_layer.py", line 119, in call
mask = -10e9 * (1.0 - A)
TypeError: unsupported operand type(s) for -: 'float' and 'list'
对应graph_attention_layer.py文件中这一行:mask = -10e9 * (1.0 - A)
The text was updated successfully, but these errors were encountered:
keep_dims is deprecated, use keepdims instead
Traceback (most recent call last):
File "D:/Gra_stu/Pratice/keras-gat-master/examples/gat.py", line 36, in
H = GraphAttention(8, attn_heads=8, attn_heads_reduction='concat', dropout_rate=0.6, activation='elu', kernel_regularizer=l2(5e-4), attn_kernel_regularizer=l2(5e-4))([H]+G)
File "D:\Downloads\Anaconda\envs\keras-gcn\lib\site-packages\keras\engine\topology.py", line 603, in call
output = self.call(inputs, **kwargs)
File "D:\Gra_stu\Pratice\keras-gat-master\keras_gat\graph_attention_layer.py", line 119, in call
mask = -10e9 * (1.0 - A)
TypeError: unsupported operand type(s) for -: 'float' and 'list'
对应graph_attention_layer.py文件中这一行:mask = -10e9 * (1.0 - A)
The text was updated successfully, but these errors were encountered: