Spaces:
Sleeping
Sleeping
how about this?
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ class LeNet(nn.Module):
|
|
| 35 |
return nn.functional.softmax(out[0], dim = 0)
|
| 36 |
|
| 37 |
lenet = LeNet()
|
| 38 |
-
lenet.load_state_dict(torch.load('ibob-lenet-v1/lenet-v1.pth', map_location='cpu'))
|
| 39 |
|
| 40 |
|
| 41 |
resize = torchvision.transforms.Resize((28, 28), antialias=True)
|
|
|
|
| 35 |
return nn.functional.softmax(out[0], dim = 0)
|
| 36 |
|
| 37 |
lenet = LeNet()
|
| 38 |
+
lenet.load_state_dict(torch.load('stanimirovb/ibob-lenet-v1/lenet-v1.pth', map_location='cpu'))
|
| 39 |
|
| 40 |
|
| 41 |
resize = torchvision.transforms.Resize((28, 28), antialias=True)
|