summaryrefslogtreecommitdiff
path: root/utils/configuration.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-04-03 21:30:35 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-04-03 23:06:07 +0800
commitf6f133fa7b926ce0c7d28bbf0ba4de41b3708d4a (patch)
tree4bf9b80c1c7a96f081a4e3b3b751145054fccc39 /utils/configuration.py
parentd12dd6b04a4e7c2b1ee43ab6f36f25d0c35ca364 (diff)
parentb9f35fbe7d78b3c478086ea26c2a76f72ce35687 (diff)
Merge branch 'master' into disentangling_only
# Conflicts: # config.py # models/hpm.py # models/layers.py # models/model.py # models/part_net.py # models/rgb_part_net.py # test/part_net.py # utils/configuration.py # utils/triplet_loss.py
Diffstat (limited to 'utils/configuration.py')
-rw-r--r--utils/configuration.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/configuration.py b/utils/configuration.py
index 1b7c8d3..fff3876 100644
--- a/utils/configuration.py
+++ b/utils/configuration.py
@@ -8,6 +8,7 @@ class SystemConfiguration(TypedDict):
CUDA_VISIBLE_DEVICES: str
save_dir: str
image_log_on: bool
+ val_size: int
class DatasetConfiguration(TypedDict):
@@ -35,7 +36,6 @@ class ModelHPConfiguration(TypedDict):
class OptimizerHPConfiguration(TypedDict):
- start_iter: int
lr: int
betas: tuple[float, float]
eps: float
@@ -44,8 +44,8 @@ class OptimizerHPConfiguration(TypedDict):
class SchedulerHPConfiguration(TypedDict):
- step_size: int
- gamma: float
+ start_step: int
+ final_gamma: float
class HyperparameterConfiguration(TypedDict):