Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/befozg/stylematte into main
Browse files- app.py +1 -1
- 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"
|
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
|