MeanGSNR

class cockpit.quantities.MeanGSNR(track_schedule, verbose=False, epsilon=1e-05)[source]

Quantitiy Class for the mean gradient signal-to-noise ratio (GSNR).

Note: Mean gradient signal-to-noise ratio as defined by

Initialize.

Parameters
  • track_schedule (callable) – Function that maps the global_step to a boolean, which determines if the quantity should be computed.

  • verbose (bool, optional) – Turns on verbose mode. Defaults to False.

  • epsilon (float) – Stabilization constant. Defaults to 1e-5.