Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ class MyNeuralNet(nn.Module):
|
|
62 |
x = self.Matrix3(x)
|
63 |
return x.squeeze()
|
64 |
|
65 |
-
model_state_dict = load(hf_hub_download(repo_id="Svenni551/
|
66 |
model = MyNeuralNet()
|
67 |
model.load_state_dict(model_state_dict)
|
68 |
model.eval()
|
|
|
62 |
x = self.Matrix3(x)
|
63 |
return x.squeeze()
|
64 |
|
65 |
+
model_state_dict = load(hf_hub_download(repo_id="Svenni551/may-mnist-digits", filename="model.pth"), map_location=torch.device('cpu'))
|
66 |
model = MyNeuralNet()
|
67 |
model.load_state_dict(model_state_dict)
|
68 |
model.eval()
|