AkashDataScience commited on
Commit
61e2a55
·
1 Parent(s): ac35722

Updated model

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. model.ckpt → model.pth +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ from resnet import ResNet18
9
  import gradio as gr
10
 
11
  model = ResNet18()
12
- model.load_state_dict(torch.load("model.ckpt", map_location=torch.device('cpu')), strict=False)
13
 
14
  inv_normalize = transforms.Normalize(
15
  mean=[-0.50/0.23, -0.50/0.23, -0.50/0.23],
 
9
  import gradio as gr
10
 
11
  model = ResNet18()
12
+ model.load_state_dict(torch.load("model.pth", map_location=torch.device('cpu')), strict=False)
13
 
14
  inv_normalize = transforms.Normalize(
15
  mean=[-0.50/0.23, -0.50/0.23, -0.50/0.23],
model.ckpt → model.pth RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:940f21f828787740b7b275a45b29051806977b52570b4e2afbb50a3f1dd04cab
3
- size 89492032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a7e95c31e09067216da79d276b0496bca3db976f4ec44fdae4a0b9db4b38fed
3
+ size 44766018