Spaces:
Runtime error
Runtime error
Update model_build.py
Browse files- model_build.py +2 -2
model_build.py
CHANGED
@@ -21,7 +21,7 @@ from models.psp import pSp
|
|
21 |
|
22 |
def build_stylegan2(
|
23 |
increment = 0.01,
|
24 |
-
network_pkl = 'pretrained/
|
25 |
process = 'image', #['image', 'interpolation','truncation','interpolation-truncation']
|
26 |
random_seed = 0,
|
27 |
diameter = 100.0,
|
@@ -54,7 +54,7 @@ def build_stylegan2(
|
|
54 |
def build_psp():
|
55 |
test_opts = easydict.EasyDict({
|
56 |
# arguments for inference script
|
57 |
-
'checkpoint_path' : 'pretrained/
|
58 |
'couple_outputs' : False,
|
59 |
'resize_outputs' : False,
|
60 |
|
|
|
21 |
|
22 |
def build_stylegan2(
|
23 |
increment = 0.01,
|
24 |
+
network_pkl = 'pretrained/ohayou_face.pkl',
|
25 |
process = 'image', #['image', 'interpolation','truncation','interpolation-truncation']
|
26 |
random_seed = 0,
|
27 |
diameter = 100.0,
|
|
|
54 |
def build_psp():
|
55 |
test_opts = easydict.EasyDict({
|
56 |
# arguments for inference script
|
57 |
+
'checkpoint_path' : 'pretrained/ohayou_face.pt',
|
58 |
'couple_outputs' : False,
|
59 |
'resize_outputs' : False,
|
60 |
|