Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ class ResNet18(nn.Module):
|
|
| 132 |
x = self.fc(x)
|
| 133 |
return x
|
| 134 |
|
| 135 |
-
model = ResNet18(
|
| 136 |
|
| 137 |
checkpoint = torch.load('ham1.ckpt', map_location=torch.device('cpu'))
|
| 138 |
|
|
|
|
| 132 |
x = self.fc(x)
|
| 133 |
return x
|
| 134 |
|
| 135 |
+
model = ResNet18(3, 7)
|
| 136 |
|
| 137 |
checkpoint = torch.load('ham1.ckpt', map_location=torch.device('cpu'))
|
| 138 |
|