48 lines
1.4 KiB
Python
48 lines
1.4 KiB
Python
config = dict()
|
|
|
|
|
|
config['batch_size'] = 4
|
|
config['train_dir'] = '/home/workspace/local-data/train'
|
|
config['valid_dir'] = '/home/workspace/local-data/valid'
|
|
config['test_dir'] = '/home/workspace/data/dataset/test_ready'
|
|
config['use_filled'] = False
|
|
config['resolution'] = 512
|
|
config['is_skirt'] = False
|
|
config['dataset_in_memory'] = False
|
|
config['is_cape'] = False
|
|
config['remove_global_orientation'] = True
|
|
|
|
config['smpl_res'] = 14475
|
|
if config['is_cape']:
|
|
config['smpl_res'] = 3638
|
|
|
|
config['latent_dim'] = 128
|
|
|
|
config['cond_ae'] = dict()
|
|
config['cond_ae']['is_label'] = True
|
|
config['cond_ae']['upscale_output'] = False
|
|
config['cond_ae']['latent_dim'] = config['latent_dim']
|
|
config['cond_ae']['kernel_size'] = 7
|
|
config['cond_ae']['bottleneck_size'] = 40 * 2
|
|
config['cond_ae']['layer_params'] = [3, 7, 15, 7, 3]
|
|
config['cond_ae']['activation'] = 'tanh'
|
|
|
|
|
|
|
|
config['gpu'] = '2'
|
|
config['lr'] = 0.001
|
|
config['name'] = 'curv_resnet_1'
|
|
config['notes'] = ''
|
|
config['tags'] = ['iccv', 'resnet']
|
|
|
|
config['cond_ae']['upscale_output'] = False
|
|
config['pretrained_model'] = ''
|
|
|
|
|
|
config['signature_dynamic'] = { 'id': (), 'frame_nr': (),
|
|
'uv_curvature': (512, 256, 7),
|
|
'mesh_curvature': (config['smpl_res'])
|
|
}
|
|
config['signature_static'] = { 'mesh_mask': (config['smpl_res'],),
|
|
'uv_mask': (512, 256,),
|
|
} |