new gnn smoothing trial

This commit is contained in:
2023-02-24 18:52:37 +00:00
parent 21bd18cbe2
commit 68b2d0d3af
3 changed files with 8 additions and 9 deletions
+5 -6
View File
@@ -16,12 +16,11 @@ class Smoother(tf.keras.Model):
def __init__(self, ):
super().__init__()
self.a = sp_matrix_to_sp_tensor(sio.loadmat("custom_utils/ssmpl0.mat")['L'].tocoo())
self.conv1 = GeneralConv(channels=32, batch_norm=True, dropout=0.1, aggregate='mean', activation='prelu', use_bias=True)
self.conv2 = GeneralConv(channels=128, batch_norm=True, dropout=0.1, aggregate='mean', activation='prelu', use_bias=True)
self.conv3 = GeneralConv(channels=64, batch_norm=True, dropout=0.0, aggregate='mean', activation='prelu', use_bias=True)
self.conv4 = GeneralConv(channels=16, batch_norm=True, dropout=0.0, aggregate='mean', activation='prelu', use_bias=True)
self.conv5 = GCNConv(3, activation='tanh', use_bias=False)
self.conv1 = GCNConv(64, activation='tanh', use_bias=False)
self.conv2 = GCNConv(64, activation='tanh', use_bias=False)
self.conv3 = GCNConv(64, activation='tanh', use_bias=False)
self.conv4 = GCNConv(64, activation='tanh', use_bias=False)
self.conv5 = GCNConv(64, activation='tanh', use_bias=False)
self.conv6 = GCNConv(3, activation='tanh', use_bias=False)
def call(self, inputs, training=None):