diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-25 12:23:23 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-25 12:23:23 +0800 |
commit | 5a063855dbecb8f1a86ad25d9e61a9c8b63312b3 (patch) | |
tree | 4528443563fd6f22407a430b88a396e690214180 /config.py | |
parent | c967a2ac88e075082473f3ca219660fa12cf67d1 (diff) |
Bug fixes and refactoring
1. Correct trained model signature
2. Move `val_size` to system config
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,9 @@ config: Configuration = { # Directory used in training or testing for temporary storage 'save_dir': 'runs', # Recorde disentangled image or not - 'image_log_on': False + 'image_log_on': False, + # The number of subjects for validating (Part of testing set) + 'val_size': 10, }, # Dataset settings 'dataset': { @@ -19,8 +21,6 @@ config: Configuration = { 'root_dir': 'data/CASIA-B-MRCNN-V2/SEG', # The number of subjects for training 'train_size': 74, - # The number of subjects for validating (Part of testing set) - 'val_size': 10, # Number of sampled frames per sequence (Training only) 'num_sampled_frames': 30, # Truncate clips longer than `truncate_threshold` |