Spaces:
Runtime error
Runtime error
Update mnist_model.pth
Browse files- mnist_model.pth +4 -1
mnist_model.pth
CHANGED
@@ -1,2 +1,5 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
2 |
torch.save(model.state_dict(), 'mnist_model.pth')
|
|
|
1 |
+
# train_model.py
|
2 |
+
import torch
|
3 |
+
|
4 |
+
# Assuming `model` is your trained model
|
5 |
torch.save(model.state_dict(), 'mnist_model.pth')
|