summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-04-08 12:57:54 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-04-08 12:57:54 +0800
commit543b163c1e8b3914be5c69fa746033da27952449 (patch)
tree0daac884baf8fc70f49d4adce0fdec21660151a5 /config.py
parentb54596ab5ce41110100214cd76ff50acc65b589a (diff)
parenta66e5a456a2b036b2b787371da3160efc559031f (diff)
Merge branch 'master' into python3.8
Diffstat (limited to 'config.py')
-rw-r--r--config.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/config.py b/config.py
index 04f7b36..726d06e 100644
--- a/config.py
+++ b/config.py
@@ -10,6 +10,8 @@ config: Configuration = {
'save_dir': 'runs',
# Recorde disentangled image or not
'image_log_on': False,
+ # Image log per n steps
+ 'image_log_steps': 100,
# The number of subjects for validating (Part of testing set)
'val_size': 20,
},
@@ -39,7 +41,7 @@ config: Configuration = {
# Batch size (pr, k)
# `pr` denotes number of persons
# `k` denotes number of sequences per person
- 'batch_size': (4, 6),
+ 'batch_size': (4, 5),
# Number of workers of Dataloader
'num_workers': 4,
# Faster data transfer from RAM to GPU if enabled
@@ -86,18 +88,22 @@ config: Configuration = {
# Local parameters (override global ones)
# 'auto_encoder': {
- # 'weight_decay': 0.001
+ # 'lr': 1e-3
# },
},
'scheduler': {
# Step start to decay
'start_step': 500,
+ # Step stop decaying
+ # 'stop_step': 30_000,
# Multiplicative factor of decay in the end
'final_gamma': 0.01,
# Local parameters (override global ones)
- # 'hpm': {
- # 'final_gamma': 0.001
+ # 'auto_encoder': {
+ # 'start_step': 0,
+ # 'stop_step': 500,
+ # 'final_gamma': 0.5
# }
}
},