Spaces:
Runtime error
Runtime error
Commit
·
b4b5fb6
1
Parent(s):
9adca0e
Added requirements.txt
Browse files- requirements.txt +2 -0
- train.py +0 -2
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
numpy
|
train.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
"""
|
| 2 |
import torch
|
| 3 |
import torch.nn as nn
|
| 4 |
import torch.nn.functional as F
|
|
@@ -89,4 +88,3 @@ def train(model):
|
|
| 89 |
|
| 90 |
# SAVING MODEL
|
| 91 |
torch.save(model_adam.state_dict(), "model_mnist.pth")
|
| 92 |
-
"""
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import torch.nn as nn
|
| 3 |
import torch.nn.functional as F
|
|
|
|
| 88 |
|
| 89 |
# SAVING MODEL
|
| 90 |
torch.save(model_adam.state_dict(), "model_mnist.pth")
|
|
|