logarithmic

cockpit.utils.schedules.logarithmic(start, end, steps=300, base=10, init=True)[source]

Creates a logarithmic tracking schedule.

Parameters
  • start ([type]) – The starting value.

  • end ([type]) – The end value.

  • steps (int, optional) – Number of log spaced points. Defaults to 300.

  • base (int, optional) – Logarithmic base. Defaults to 10.

  • init (bool, optional) – Whether 0 should be included. Defaults to True.

Returns

Function that given the global_step returns whether it should track.

Return type

callable