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
I got error when using theano by configuring .kreras/keras.json file
Using Theano backend.
Loading cora dataset...
Dataset has 2708 nodes, 5429 edges, 1433 features.
Using local pooling filters...
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/keras/engine/base_layer.py", line 310, in assert_input_compatibility
K.is_keras_tensor(x)
File "/usr/local/lib/python3.7/site-packages/keras/backend/theano_backend.py", line 225, in is_keras_tensor
str(type(x)) + '. ' ValueError: Unexpectedly found an instance of type <class 'theano.sparse.basic.SparseVariable'>`. Expected a symbolic tensor instance.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/.../train.py", line 56, in
H = GraphConvolution(16, support, activation='relu', kernel_regularizer=l2(5e-4))([H]+G)
File "/usr/local/lib/python3.7/site-packages/keras/engine/base_layer.py", line 446, in call
self.assert_input_compatibility(inputs)
File "/usr/local/lib/python3.7/site-packages/keras/engine/base_layer.py", line 316, in assert_input_compatibility
str(inputs) + '. All inputs to the layer '
ValueError: Layer graph_convolution_1 was called with an input that isn't a symbolic tensor. Received type: <class 'theano.sparse.basic.SparseVariable'>. Full input: [if{}.0, SparseVariable{csr,float32}]. All inputs to the layer should be tensors.
The text was updated successfully, but these errors were encountered:
I got error when using theano by configuring .kreras/keras.json file
The text was updated successfully, but these errors were encountered: