diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-01-13 10:59:59 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-01-13 10:59:59 +0800 |
commit | 8ee391b65e2b48d777a268749f54b3aa9e4b9142 (patch) | |
tree | 85bea16f0c95722ae3c3b37c5ebd0d50800432e6 /config.py | |
parent | abb6989683829f12bf43ff19580444bf3396ac44 (diff) |
Add multiple checkpoints for different model and set default config value
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -13,7 +13,7 @@ config: Configuration = { 'dataset': { # Name of dataset (CASIA-B or FVG) 'name': 'CASIA-B', - # Path to dataset root + # Path to dataset root (required) 'root_dir': 'data/CASIA-B-MRCNN/SEG', # The number of subjects for training 'train_size': 74, @@ -88,9 +88,13 @@ config: Configuration = { 'model': { # Model name, used for naming checkpoint 'name': 'RGB-GaitPart', - # Restoration iteration from checkpoint - 'restore_iter': 0, - # Total iteration for training - 'total_iter': 80000, + # Restoration iteration from checkpoint (single model) + # 'restore_iter': 0, + # Total iteration for training (single model) + # 'total_iter': 80000, + # Restoration iteration (multiple models, e.g. nm, bg and cl) + 'restore_iters': (0, 0, 0), + # Total iteration for training (multiple models) + 'total_iter': (80_000, 80_000, 80_000), }, } |