Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from torchvision.transforms import ToTensor
|
|
7 |
# Define model
|
8 |
class ConvNet(nn.Module):
|
9 |
def __init__(self):
|
10 |
-
super(
|
11 |
self.conv1 = nn.Conv2d(1, 32, kernel_size=5)
|
12 |
self.conv2 = nn.Conv2d(32, 32, kernel_size=5)
|
13 |
self.conv3 = nn.Conv2d(32,64, kernel_size=5)
|
|
|
7 |
# Define model
|
8 |
class ConvNet(nn.Module):
|
9 |
def __init__(self):
|
10 |
+
super(ConvNet, self).__init__()
|
11 |
self.conv1 = nn.Conv2d(1, 32, kernel_size=5)
|
12 |
self.conv2 = nn.Conv2d(32, 32, kernel_size=5)
|
13 |
self.conv3 = nn.Conv2d(32,64, kernel_size=5)
|