Compare commits
2
Commits
68b2d0d3af
...
53bfbabcd7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53bfbabcd7 | ||
|
|
9a74c476a6 |
+7
-7
@@ -16,11 +16,11 @@ class Smoother(tf.keras.Model):
|
|||||||
def __init__(self, ):
|
def __init__(self, ):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.a = sp_matrix_to_sp_tensor(sio.loadmat("custom_utils/ssmpl0.mat")['L'].tocoo())
|
self.a = sp_matrix_to_sp_tensor(sio.loadmat("custom_utils/ssmpl0.mat")['L'].tocoo())
|
||||||
self.conv1 = GCNConv(64, activation='tanh', use_bias=False)
|
self.conv1 = GCNConv(3, activation='tanh', use_bias=False)
|
||||||
self.conv2 = GCNConv(64, activation='tanh', use_bias=False)
|
self.conv2 = GCNConv(3, activation='tanh', use_bias=False)
|
||||||
self.conv3 = GCNConv(64, activation='tanh', use_bias=False)
|
self.conv3 = GCNConv(3, activation='tanh', use_bias=False)
|
||||||
self.conv4 = 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.conv5 = GCNConv(64, activation='tanh', use_bias=False)
|
||||||
self.conv6 = GCNConv(3, activation='tanh', use_bias=False)
|
self.conv6 = GCNConv(3, activation='tanh', use_bias=False)
|
||||||
|
|
||||||
def call(self, inputs, training=None):
|
def call(self, inputs, training=None):
|
||||||
@@ -28,8 +28,8 @@ class Smoother(tf.keras.Model):
|
|||||||
x = self.conv1([x, self.a], training=training)
|
x = self.conv1([x, self.a], training=training)
|
||||||
x = self.conv2([x, self.a], training=training)
|
x = self.conv2([x, self.a], training=training)
|
||||||
x = self.conv3([x, self.a], training=training)
|
x = self.conv3([x, self.a], training=training)
|
||||||
x = self.conv4([x, self.a], training=training)
|
# x = self.conv4([x, self.a], training=training)
|
||||||
x = self.conv5([x, self.a], training=training)
|
# x = self.conv5([x, self.a], training=training)
|
||||||
x = self.conv6([x, self.a], training=training)
|
x = self.conv6([x, self.a], training=training)
|
||||||
return x
|
return x
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user