Update model.py
Browse files
model.py
CHANGED
|
@@ -17,4 +17,8 @@ class Model(nn.Module):
|
|
| 17 |
x = self.elu2(self.bn2(self.ll2(x)))
|
| 18 |
x = torch.sum(x, dim=1)
|
| 19 |
x = self.llf(x)
|
| 20 |
-
return x
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
x = self.elu2(self.bn2(self.ll2(x)))
|
| 18 |
x = torch.sum(x, dim=1)
|
| 19 |
x = self.llf(x)
|
| 20 |
+
return x
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
if __name__ == '__main__':
|
| 24 |
+
model = torch.load('model.pth')
|