large refactor
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from configs.config_base import config
|
||||
|
||||
config['gpu'] = '1'
|
||||
config['lr'] = 0.0001
|
||||
config['name'] = 'ae_body_9'
|
||||
|
||||
config['signature_dynamic'] = { 'id': (),
|
||||
'pose_shape': (72 + 11,),
|
||||
'uv_body_posed': (3, 512, 256,),
|
||||
'mesh_body_posed': (14475, 3,),
|
||||
}
|
||||
config['signature_static'] = {
|
||||
'mesh_mask': (14475,),
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
from configs.config_base import config
|
||||
|
||||
config['lr'] = 0.001
|
||||
config['name'] = 'ae_body_9'
|
||||
|
||||
config['cond_ae']['is_label'] = True
|
||||
|
||||
config['signature_dynamic'] = { 'id': (),
|
||||
'uv_curvature': (512, 256),
|
||||
'mesh_curvature': (14475)
|
||||
}
|
||||
config['signature_static'] = { 'mesh_mask': (14475,),
|
||||
'uv_mask': (512, 256,),
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
from configs.config_base import config
|
||||
|
||||
config['gpu'] = '0'
|
||||
config['lr'] = 0.0005
|
||||
config['name'] = 'ae_static_7'
|
||||
|
||||
config['signature_dynamic'] = { 'id': (), }
|
||||
config['signature_static'] = { 'uv_static': (512, 256, 3),
|
||||
'mesh_static': (14475, 3,),
|
||||
'mesh_mask': (14475,),
|
||||
'uv_mask': (512, 256,),
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
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]
|
||||
@@ -0,0 +1,53 @@
|
||||
from configs.config_base import config
|
||||
|
||||
config['lr'] = 0.0001
|
||||
config['name'] = 'cvae_19'
|
||||
config['starting_balancing_coeff'] = 0.0001
|
||||
|
||||
config['signature_dynamic'] = { 'id': (),
|
||||
'pose_shape': (72 + 11,),
|
||||
'uv_body_posed': (512, 256, 3),
|
||||
'mesh_body_posed': (14475, 3,),
|
||||
'mesh_posed': (14475, 3,),
|
||||
'mesh_unposed': (14475, 3,),
|
||||
'uv_unposed': (512, 256, 3),
|
||||
'uv_curvature': (512, 256),
|
||||
}
|
||||
config['signature_static'] = { 'uv_static': (512, 256, 3),
|
||||
'mesh_mask': (14475,),
|
||||
'uv_mask': (512, 256,),
|
||||
}
|
||||
|
||||
config['avg_garment_path'] = 'custom_data/train_100_no_shape_avg_uv.npy'
|
||||
config['static_model'] = 'checkpoints/ae_static_6_copy'
|
||||
config['body_model'] = 'checkpoints/ae_body_8_copy'
|
||||
config['curvature_model'] = 'checkpoints/ae_curvature_7_copy'
|
||||
config['freeze_encoders'] = True
|
||||
|
||||
config['cvae'] = dict()
|
||||
config['cvae']['is_label'] = False
|
||||
config['cvae']['latent_dim'] = config['latent_dim']
|
||||
|
||||
if config['resolution'] == 512:
|
||||
config['cvae']['kernel_size'] = 7
|
||||
config['cvae']['encoder_depths'] = [3, 3, 9, 3]
|
||||
config['cvae']['encoder_dims'] = [32, 64, 128, 256]
|
||||
config['cvae']['decoder_input'] = (16, 8, 80)
|
||||
config['cvae']['decoder_depths'] = [3, 3, 9, 3]
|
||||
config['cvae']['decoder_dims'] = [256, 128, 64, 16]
|
||||
elif config['resolution'] == 128:
|
||||
config['cvae']['kernel_size'] = 5
|
||||
config['cvae']['encoder_depths'] = [16, 16, 9, 9]
|
||||
config['cvae']['encoder_dims'] = [64, 128, 256, 256]
|
||||
config['cvae']['decoder_input'] = (4, 2, 128)
|
||||
config['cvae']['decoder_depths'] = [16, 16, 9, 9]
|
||||
config['cvae']['decoder_dims'] = [256, 256, 128, 64]
|
||||
elif config['resolution'] == 32:
|
||||
config['cvae']['kernel_size'] = 3
|
||||
config['cvae']['encoder_depths'] = [27, 27]
|
||||
config['cvae']['encoder_dims'] = [256, 256]
|
||||
config['cvae']['decoder_input'] = (4, 2, 256)
|
||||
config['cvae']['decoder_depths'] = [27, 27]
|
||||
config['cvae']['decoder_dims'] = [256, 256]
|
||||
else:
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user