21 lines
824 B
Python
21 lines
824 B
Python
config = dict()
|
|
|
|
|
|
config['batch_size'] = 4
|
|
config['train_dir'] = '/home/workspace/local-data/train_100'
|
|
config['valid_dir'] = '/home/workspace/local-data/train_100'
|
|
config['use_filled'] = False
|
|
config['resolution'] = 512
|
|
|
|
config['latent_dim'] = 128
|
|
|
|
config['cond_ae'] = dict()
|
|
config['cond_ae']['is_label'] = False
|
|
config['cond_ae']['latent_dim'] = config['latent_dim']
|
|
config['cond_ae']['kernel_size'] = 7
|
|
config['cond_ae']['bottleneck_size'] = 64
|
|
config['cond_ae']['encoder_depths'] = [3, 3, 9, 9, 3]
|
|
config['cond_ae']['encoder_dims'] = [32, 64, 128, 256, config['cond_ae']['bottleneck_size']]
|
|
config['cond_ae']['decoder_input'] = (8, 4, config['cond_ae']['bottleneck_size'])
|
|
config['cond_ae']['decoder_depths'] = [3, 3, 9, 3, 3]
|
|
config['cond_ae']['decoder_dims'] = [config['cond_ae']['bottleneck_size'], 256, 128, 64, 16] |