Skip to content

Building Model #3

@WanxiangHuang

Description

@WanxiangHuang

Hi, there are some updates to the Spektral's Convolutional layers:
A_in = Input(tensor=sp_matrix_to_sp_tensor(fltr)) will lead to failure
And GraphConv has been removed as well.
I will be really appreciated if you can update your code.
I am trying to write by myself, but met the following error:
Model: "functional_1"


Layer (type) Output Shape Param # Connected to

input_1 (InputLayer) [(None, 3890, 2)] 0


input_2 (InputLayer) [(None, 3890)] 0


gcs_conv (GCSConv) (None, 3890, 32) 128 input_1[0][0]
input_2[0][0]


gcs_conv_1 (GCSConv) (None, 3890, 32) 2048 gcs_conv[0][0]
input_2[0][0]


flatten (Flatten) (None, 124480) 0 gcs_conv_1[0][0]


dense (Dense) (None, 512) 63734272 flatten[0][0]


dense_1 (Dense) (None, 1) 513 dense[0][0]

Total params: 63,736,961
Trainable params: 63,736,961
Non-trainable params: 0

AssertionError: Could not compute output Tensor("dense_1/Sigmoid:0", shape=(None, 1), dtype=float32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions