52 lines
1.8 KiB
Python
52 lines
1.8 KiB
Python
config = dict()
|
|
|
|
|
|
config['batch_size'] = 4
|
|
config['train_dir'] = '/home/workspace/local-data/cape_processed/train/male'
|
|
config['valid_dir'] = '/home/workspace/local-data/cape_processed/test/male'
|
|
config['test_dir'] = '/home/workspace/local-data/cape_processed/test/male'
|
|
config['use_filled'] = False
|
|
config['resolution'] = 512
|
|
config['is_skirt'] = False
|
|
config['dataset_in_memory'] = False
|
|
config['is_cape'] = True
|
|
config['remove_global_orientation'] = True
|
|
|
|
config['smpl_res'] = 14475
|
|
if config['is_cape']:
|
|
config['smpl_res'] = 3638
|
|
|
|
config['latent_dim'] = 128
|
|
config['bottleneck_scale'] = 2
|
|
|
|
config['cond_ae'] = dict()
|
|
config['cond_ae']['is_label'] = False
|
|
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'] = 16 * config['bottleneck_scale']
|
|
config['cond_ae']['encoder_depths'] = [3, 3, 9, 9, 3]
|
|
config['cond_ae']['encoder_dims'] = [16, 32, 64, 128, config['cond_ae']['bottleneck_size']]
|
|
config['cond_ae']['decoder_depths'] = config['cond_ae']['encoder_depths']
|
|
config['cond_ae']['decoder_dims'] = config['cond_ae']['encoder_dims']
|
|
config['cond_ae']['activation'] = 'tanh'
|
|
|
|
|
|
config['gpu'] = '4'
|
|
config['lr'] = 0.0001
|
|
config['name'] = 'body_iccv_1_cape_m'
|
|
config['notes'] = ''
|
|
config['tags'] = ['iccv', 'body', 'cape_m']
|
|
|
|
config['cond_ae']['upscale_output'] = False
|
|
config['pretrained_model'] = ''
|
|
|
|
|
|
config['signature_dynamic'] = { 'id': (), 'frame_nr': (),
|
|
'pose_shape': (72 + 11,),
|
|
'uv_body_posed': (3, 512, 256,),
|
|
'mesh_body_posed': (config['smpl_res'], 3,),
|
|
}
|
|
config['signature_static'] = {
|
|
'mesh_mask': (config['smpl_res'],),
|
|
} |