4319418984aebb862e75829df9784c5deab68039,pyannote/audio/train.py,DavisKingScheduler,__init__,#DavisKingScheduler#Any#Any#Any#Any#Any#Any#,77
Before Change
self.batches_per_epoch = batches_per_epoch
self.active = active
self.lr_ = [float(grp["lr"]) for grp in self.optimizer.param_groups]
patience = max(self.patience_down, self.patience_up)
self.losses_ = deque([], maxlen=patience * self.batches_per_epoch + 1)
@property
After Change
self.patience_up = patience_up
self.batches_per_epoch = batches_per_epoch
self.active = active
self.reset(optimizer)
patience = self.patience_down * self.batches_per_epoch
self.decreasing_losses_ = deque([], maxlen=patience + 1)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pyannote/pyannote-audio
Commit Name: 4319418984aebb862e75829df9784c5deab68039
Time: 2018-06-29
Author: bredin@limsi.fr
File Name: pyannote/audio/train.py
Class Name: DavisKingScheduler
Method Name: __init__
Project Name: UFAL-DSG/tgen
Commit Name: 2fc12196a70b67bbfc62f64766ac9f7df4eadef0
Time: 2014-09-09
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/eval.py
Class Name: Evaluator
Method Name: __init__
Project Name: openai/baselines
Commit Name: b71152eea0470ac2629c33e0fc66a54fe494949f
Time: 2018-02-26
Author: matthiasplappert@me.com
File Name: baselines/common/vec_env/dummy_vec_env.py
Class Name: DummyVecEnv
Method Name: reset