小 效懈褔械褉懈薪 commited on
Commit
053c710
2 Parent(s): 65fc998 39fedb9

Merge branch 'main' of https://huggingface.co/spaces/befozg/stylematte into main

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. stylematte.pth +3 -0
app.py CHANGED
@@ -4,7 +4,7 @@ from test import inference_img
4
  device='cuda'
5
  model = MaskForm()
6
  model = model.to(device)
7
- checkpoint = f"stylematte_synth.pth"
8
  state_dict = torch.load(checkpoint, map_location=f'{device}')
9
 
10
  model.load_state_dict(state_dict)
 
4
  device='cuda'
5
  model = MaskForm()
6
  model = model.to(device)
7
+ checkpoint = f"stylematte.pth"
8
  state_dict = torch.load(checkpoint, map_location=f'{device}')
9
 
10
  model.load_state_dict(state_dict)
stylematte.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ce985571e909b6677d7d25e560216fa3f620e5cd337a8382ee0799c6d9af16c
3
+ size 140040541