BIGAI-models commited on
Commit
f030a27
·
verified ·
1 Parent(s): 31187fe

Update example.py

Browse files
Files changed (1) hide show
  1. 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\\pytorch_mode1.pth'))
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):