diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-28 23:12:58 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-28 23:12:58 +0800 |
commit | 0d2b643d7e04eba872e8b1fc9b04478a026bb3b0 (patch) | |
tree | a53d8aa69e050397d3443a602a42ed700a8e8bb5 /config.py | |
parent | 10b1299eb46343e119bc413ba8774dcb1a68595e (diff) | |
parent | e04f54d0bfc8fc711e53561065d772dae1926b64 (diff) |
Merge branch 'python3.8' into python3.7
# Conflicts:
# utils/configuration.py
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -51,7 +51,7 @@ config = { # Use 1x1 convolution in dimensionality reduction 'hpm_use_1x1conv': False, # HPM pyramid scales, of which sum is number of parts - 'hpm_scales': (1, 2, 4), + 'hpm_scales': (1, 2, 4, 8), # Global pooling method 'hpm_use_avg_pool': True, 'hpm_use_max_pool': True, @@ -63,6 +63,8 @@ config = { 'embedding_dims': 256, # Batch Hard or Batch All 'triplet_is_hard': True, + # Use non-zero mean or sum + 'triplet_is_mean': True, # Triplet loss margins for HPM and PartNet, None for soft margin 'triplet_margins': None, }, |