(self)
return desired_frac * self._final_labels
Return the number of labels desired at this point in training.
Return the number of labels desired at this point in training.
Return the number of labels desired at this point in training .
def n_desired_labels(self):
        """Return the number of labels desired at this point in training. """
        exp_decay_frac = 0.01 ** (self._agent_logger._timesteps_elapsed / self._final_timesteps)  # Decay from 1 to 0
        pretrain_frac = self._pretrain_labels / self._final_labels
        desired_frac = pretrain_frac + (1 - pretrain_frac) * (1 - exp_decay_frac)  # Start with 0.25 and anneal to 0.99
        return desired_frac * self._final_labels
def n_desired_labels ( self ) : exp_decay_frac = 0.01 ** ( self . _agent_logger . _timesteps_elapsed / self . _final_timesteps ) # Decay from 1 to 0 pretrain_frac = self . _pretrain_labels / self . _final_labels desired_frac = pretrain_frac + ( 1 - pretrain_frac ) * ( 1 - exp_decay_frac ) # Start with 0.25 and anneal to 0.99 return desired_frac * self . _final_labels