Update example.py
Browse files- example.py +1 -1
example.py
CHANGED
|
@@ -20,7 +20,7 @@ class AI(nn.Module):
|
|
| 20 |
x = self.linai(x)
|
| 21 |
return x
|
| 22 |
model = AI()
|
| 23 |
-
model.load_state_dict(torch.load('C:\\Users\\name\\Downloads\\
|
| 24 |
model.eval()
|
| 25 |
|
| 26 |
for _ in range(10):
|
|
|
|
| 20 |
x = self.linai(x)
|
| 21 |
return x
|
| 22 |
model = AI()
|
| 23 |
+
model.load_state_dict(torch.load('C:\\Users\\name\\Downloads\\pytorch_model.pth'))
|
| 24 |
model.eval()
|
| 25 |
|
| 26 |
for _ in range(10):
|