forked from rolux/stylegan2encoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
33 lines (27 loc) · 1.22 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# This work is licensed under the Creative Commons Attribution-NonCommercial
# 4.0 International License. To view a copy of this license, visit
# http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to
# Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
"""Global configuration."""
#----------------------------------------------------------------------------
# Paths.
result_dir = 'results'
data_dir = 'datasets'
cache_dir = 'cache'
dlatents_dir = 'latent_representations'
generated_dir = 'generated_images'
run_dir_ignore = ['results', 'datasets', 'cache', 'latent_representations', 'generated_images']
# experimental - replace Dense layers with TreeConnect
use_treeconnect = False
randomize_noise = False
allow_growth = True
# Model = './models/lex5-246.pkl'
# Model = './models/lex5-123.pkl'
# Model = './models/lex4-148.pkl'
Model = './models/2020-01-11-skylion-stylegan2-animeportraits-networksnapshot-024664.pkl'
# Model = './models/stylegan2-ffhq-config-f.pkl'
vgg16 = './models/vgg16_zhang_perceptual.pkl'
inception_v3_features = './models/inception_v3_features.pkl'
#----------------------------------------------------------------------------