summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-02-26 20:17:30 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-02-26 20:17:30 +0800
commitaf4d28333b8204d6ab74738a8d3b6ae869cb9344 (patch)
treebb2bbc28256cb6290abcf62730a8537544ac9a3c /config.py
parent12f4b52df6f4ce8a4c4484146469774e4b158d30 (diff)
parent66d7b0e6f80aa6feb5e4e0af9af7ba78db641f9e (diff)
Merge branch 'python3.8' into python3.7
Diffstat (limited to 'config.py')
-rw-r--r--config.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.py b/config.py
index 50892ca..a7d5371 100644
--- a/config.py
+++ b/config.py
@@ -35,7 +35,7 @@ config = {
# Batch size (pr, k)
# `pr` denotes number of persons
# `k` denotes number of sequences per person
- 'batch_size': (4, 8),
+ 'batch_size': (4, 6),
# Number of workers of Dataloader
'num_workers': 4,
# Faster data transfer from RAM to GPU if enabled
@@ -62,7 +62,7 @@ config = {
# Embedding dimension for each part
'embedding_dims': 256,
# Triplet loss margins for HPM and PartNet
- 'triplet_margins': (0.2, 0.2),
+ 'triplet_margins': (1.5, 1.5),
},
'optimizer': {
# Global parameters
@@ -81,15 +81,15 @@ config = {
# 'amsgrad': False,
# Local parameters (override global ones)
- 'auto_encoder': {
- 'weight_decay': 0.001
- },
+ # 'auto_encoder': {
+ # 'weight_decay': 0.001
+ # },
},
'scheduler': {
# Period of learning rate decay
'step_size': 500,
# Multiplicative factor of decay
- 'gamma': 0.9,
+ 'gamma': 1,
}
},
# Model metadata