diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-05-17 17:19:20 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-05-17 17:19:20 +0800 |
commit | 2b5bc2350df8ebb8e4e5722f5563f2e44823ac34 (patch) | |
tree | 94816e528ed7ac1732c44877181540fd5a8ad810 /config.py | |
parent | fde8d8fc0e4d986be37b26b468b0ac9d53d7bcd9 (diff) |
Reduce channels in the auto-encoder and add more layers
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,20 +51,20 @@ config: Configuration = { 'hyperparameter': { 'model': { # Auto-encoder feature channels coefficient - 'ae_feature_channels': 64, + 'ae_feature_channels': 32, # Appearance, canonical and pose feature dimensions - 'f_a_c_p_dims': (192, 192, 128), + 'f_a_c_p_dims': (48, 48, 32), # HPM pyramid scales, of which sum is number of parts 'hpm_scales': (1, 2, 4, 8), # Global pooling method 'hpm_use_avg_pool': True, 'hpm_use_max_pool': True, # Number of parts after Part Net - 'tfa_num_parts': 16, + 'tfa_num_parts': 8, # Attention squeeze ratio 'tfa_squeeze_ratio': 4, # Embedding dimensions for each part - 'embedding_dims': (256, 256), + 'embedding_dims': (32, 64), # Batch Hard or Batch All 'triplet_is_hard': True, # Use non-zero mean or sum |