summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-13 11:15:49 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-13 11:15:49 +0800
commit6de814e06664cd51474232823930faba9ebb6d3d (patch)
tree9f8d9e17919a98695844700fdc5bf3ec680b1a80 /config.py
parentcad72ca5f1f3f7fc37ce3429af0bf255fed453fb (diff)
parent2ed37d21aac148dcec068590decb8eaff892d23b (diff)
Merge branch 'python3.8' into python3.7
# Conflicts: # utils/configuration.py
Diffstat (limited to 'config.py')
-rw-r--r--config.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/config.py b/config.py
index cd36cc5..f8e3711 100644
--- a/config.py
+++ b/config.py
@@ -11,7 +11,7 @@ config = {
'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,
@@ -86,9 +86,13 @@ config = {
'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_iters': (80_000, 80_000, 80_000),
},
}