-
Notifications
You must be signed in to change notification settings - Fork 334
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
Spektral 1.3.1 GCN Call Exception #453
Comments
I also get the same error.. I use ARMAConv layer. ValueError Traceback (most recent call last) 2 frames ValueError: Exception encountered when calling ARMAConv.call(). **Could not automatically infer the output shape / dtype of 'arma_conv' (of type ARMAConv). Either the Tried to convert 'y' to a tensor and failed. Error: None values not supported.** Arguments received by ARMAConv.call():
|
I have the same issue when using GCNConv. |
I get the same error, and after some work i found the solution: ate the begining of the code I installed also tf_keras with: pip install tf-keras |
这个方法试过了,没有用,求问各位大佬怎么解决的 |
from spektral.layers import GCNConv
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Input, Dropout
from spektral.datasets import citation
#Spektral package version == 1.3.1
#Trying to run a GCN model but following exception error showed up when run e.g.
GCNConv(16, 'relu')([X_in, A_in])
RuntimeError: Exception encountered when calling GCNConv.call().
Could not automatically infer the output shape / dtype of 'gcn_conv_3' (of type GCNConv). Either the
GCNConv.call()
method is incorrect, or you need to implement theGCNConv.compute_output_spec() / compute_output_shape()
method. Error encountered:Tried to convert 'y' to a tensor and failed. Error: None values not supported.
The text was updated successfully, but these errors were encountered: