diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-27 22:16:32 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-02-27 22:16:32 +0800 |
commit | 10b1299eb46343e119bc413ba8774dcb1a68595e (patch) | |
tree | 4d6d7d3650fbabed5cb66ae15d9e098e07252a9c /config.py | |
parent | af4d28333b8204d6ab74738a8d3b6ae869cb9344 (diff) | |
parent | ec863bad4933f25a5bf14fef2541df43c4d9430f (diff) |
Merge branch 'python3.8' into python3.7
# Conflicts:
# utils/configuration.py
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -61,8 +61,10 @@ config = { 'tfa_num_parts': 16, # Embedding dimension for each part 'embedding_dims': 256, - # Triplet loss margins for HPM and PartNet - 'triplet_margins': (1.5, 1.5), + # Batch Hard or Batch All + 'triplet_is_hard': True, + # Triplet loss margins for HPM and PartNet, None for soft margin + 'triplet_margins': None, }, 'optimizer': { # Global parameters |