summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-03-25 12:23:23 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-03-25 12:23:23 +0800
commit5a063855dbecb8f1a86ad25d9e61a9c8b63312b3 (patch)
tree4528443563fd6f22407a430b88a396e690214180 /utils
parentc967a2ac88e075082473f3ca219660fa12cf67d1 (diff)
Bug fixes and refactoring
1. Correct trained model signature 2. Move `val_size` to system config
Diffstat (limited to 'utils')
-rw-r--r--utils/configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/configuration.py b/utils/configuration.py
index 157d249..5a5bc0c 100644
--- a/utils/configuration.py
+++ b/utils/configuration.py
@@ -8,13 +8,13 @@ class SystemConfiguration(TypedDict):
CUDA_VISIBLE_DEVICES: str
save_dir: str
image_log_on: bool
+ val_size: int
class DatasetConfiguration(TypedDict):
name: str
root_dir: str
train_size: int
- val_size: int
num_sampled_frames: int
truncate_threshold: int
discard_threshold: int