moflo
commited on
Commit
·
b068351
1
Parent(s):
9b71fdf
update path info
Browse files
app.py
CHANGED
@@ -571,7 +571,7 @@ weights_path = keras.utils.get_file(
|
|
571 |
)
|
572 |
|
573 |
print("Pretrained:")
|
574 |
-
print(os.listdir(os.path.join("pretrained")))
|
575 |
|
576 |
# style_gan.grow_model(128)
|
577 |
# style_gan.load_weights(os.path.join("pretrained/stylegan_128x128.ckpt"))
|
@@ -590,7 +590,7 @@ class InferenceWrapper:
|
|
590 |
self.model = model
|
591 |
self.style_gan = StyleGAN(start_res=START_RES, target_res=TARGET_RES)
|
592 |
self.style_gan.grow_model(64)
|
593 |
-
self.style_gan.load_weights(os.path.join("pretrained/stylegan_64x64.ckpt"))
|
594 |
self.seed = -1
|
595 |
|
596 |
def __call__(self, seed, feature):
|
|
|
571 |
)
|
572 |
|
573 |
print("Pretrained:")
|
574 |
+
print(os.listdir(os.path.join("pretrained/checkpoints")))
|
575 |
|
576 |
# style_gan.grow_model(128)
|
577 |
# style_gan.load_weights(os.path.join("pretrained/stylegan_128x128.ckpt"))
|
|
|
590 |
self.model = model
|
591 |
self.style_gan = StyleGAN(start_res=START_RES, target_res=TARGET_RES)
|
592 |
self.style_gan.grow_model(64)
|
593 |
+
self.style_gan.load_weights(os.path.join("pretrained/checkpoints/stylegan_64x64.ckpt"))
|
594 |
self.seed = -1
|
595 |
|
596 |
def __call__(self, seed, feature):
|