diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-04-08 12:58:18 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-04-08 12:58:18 +0800 |
commit | 4fda9dfcb55cf78dda1e942992354037c3e08456 (patch) | |
tree | f2c5f3565fdb21e7b86084e2a23704fd1a15c114 /config.py | |
parent | b8892d3a3838fe6f5e18c9d76f16ea6368d715f2 (diff) | |
parent | 543b163c1e8b3914be5c69fa746033da27952449 (diff) |
Merge branch 'python3.8' into python3.7
# Conflicts:
# utils/configuration.py
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -8,6 +8,8 @@ config = { '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, }, @@ -37,7 +39,7 @@ config = { # 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 @@ -84,18 +86,22 @@ config = { # 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 # } } }, |