55 lines
1.7 KiB
Python
55 lines
1.7 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'] = 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['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'] = '2'
|
|
config['lr'] = 0.0001
|
|
config['name'] = 'body_post_2'
|
|
config['notes'] = 'convnext + convnext, | \
|
|
\
|
|
| \
|
|
deeper model | \
|
|
| \
|
|
'
|
|
|
|
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'],),
|
|
} |