Schedulers Module#
Schedulers module for training.
- class landmarker.schedulers.AdalossScheduler[source]#
Scheduler for sigma parameter of gaussian heatmaps. In essence the scheduler increases the problem difficulty by decreasing the sigma parameter. Implicitly by doing this, it creates a training curriculum.
- Proposed in βAdaloss: Adaptive Loss Function for Landmark Localizationβ - Teixeira et al.
- Parameters:
nb_landmarks (int) β number of landmarks
rho (float, optional) β [description]. Defaults to 0.9.
window (int, optional) β [description]. Defaults to 3.
non_increasing (bool, optional) β [description]. Defaults to False.