diff options
author | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-01 18:28:35 +0800 |
---|---|---|
committer | Jordan Gong <jordan.gong@protonmail.com> | 2021-03-01 18:28:35 +0800 |
commit | d01458560bc03c59852f6e3b45c6408a90ba9b6f (patch) | |
tree | c7187695c8fd16faf047cd93b66ed5ce9b7b0033 /utils/configuration.py | |
parent | 8745ffeb51b29cfe7d3eee2d845910086ba8b046 (diff) | |
parent | d88e40217f56d96e568335ccee1f14ff3ea5a696 (diff) |
Merge branch 'data_parallel' into data_parallel_py3.8
# Conflicts:
# models/model.py
# utils/configuration.py
# utils/triplet_loss.py
Diffstat (limited to 'utils/configuration.py')
-rw-r--r-- | utils/configuration.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/configuration.py b/utils/configuration.py index b9e6d92..376ae0f 100644 --- a/utils/configuration.py +++ b/utils/configuration.py @@ -43,6 +43,8 @@ class ModelHPConfiguration(TypedDict): tfa_squeeze_ratio: int tfa_num_parts: int embedding_dims: int + triplet_is_hard: bool + triplet_is_mean: bool triplet_margins: Tuple[float, float] @@ -55,7 +57,6 @@ class SubOptimizerHPConfiguration(TypedDict): class OptimizerHPConfiguration(TypedDict): - start_iter: int lr: int betas: Tuple[float, float] eps: float @@ -68,8 +69,8 @@ class OptimizerHPConfiguration(TypedDict): class SchedulerHPConfiguration(TypedDict): - step_size: int - gamma: float + start_step: int + final_gamma: float class HyperparameterConfiguration(TypedDict): |