Skip to content

DasuberVetLeonidas/SwooshActivationFunction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwooshActivationFunction

Swoosh Activation Function

SAF is introduced to optimize predicted landmark detection heatmaps by enforcing an optimum mean squared error (MSE) between a pair of predicted heatmaps. It also enforces a secondary optimum MSE between a predicted heatmap and a zero matrix.

The formula of SAF is: $$f(x>0) = \left(ax + \frac{1}{bx}\right)^c - Min$$

The figure of SAF without the Min term is: Figure of SAF with different coefficient a configuration

Configuring SAF requires following steps:

  1. Determine the MSE between a pair of ground truth heatmap.
  2. Determine the value of coefficient a which determines the slope of SAF around the minimum point in Quadrant 1 of the Cartesian coordinate system.
  3. Compute coefficient b using equation: $$b = \frac{1}{a\times Optimum MSE^2}$$
  4. Compute coefficient c using equation: $$c = \frac{\log(Min)}{\log(\frac{ax^2+1}{bx})}, x = 0.0061$$

Citation: TBD

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages