shamangary / SSR-Net

[IJCAI18] SSR-Net: A Compact Soft Stagewise Regression Network for Age Estimation
Apache License 2.0
584 stars 146 forks source link

What are `lambda_local` and `lambda_d` before $\eta$ and $\Delta_k$ respectively? #36

Closed Pirate-Pianist closed 5 years ago

Pirate-Pianist commented 5 years ago

Hello. In paper 3.3 Dymamic Range part, formula (4) $$\bar s_k = s_k (1 + \Delta_k) \tag{4}$$ formula (6) $$\bar i = i + \eta_i^{(k)} \tag{6}$$

but there is sort of different in the code, the $\Delta_k$ and $\eta$ are multiplied by lambda_local and lambda_d respectively which (lambda_local and lambda_d) are assigned [0, 0.25, 0.5, 0.75, 1] in the SSRNET_train.py.

Why are they(lambda_local and lambda_d) exist? Thank you.

shamangary commented 5 years ago

Hello. lambda_local and lambda_d are basically hyperparameters for tuning dynamic indexing and dynamic scaling. I just want to make it more flexible. The final choice for both values is one.

Pirate-Pianist commented 5 years ago

Thank you.