5dc36fed7cb3e31a3f44b99ddd6d870840c885ce,model/dcrnn_supervisor.py,DCRNNSupervisor,_train,#DCRNNSupervisor#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,121

Before Change


            // Learning rate schedule.
            new_lr = max(min_learning_rate, base_lr * (lr_decay_ratio ** np.sum(self._epoch >= np.array(steps))))
            self._train_model.set_lr(sess=sess, lr=new_lr)
            sys.stdout.flush()

            start_time = time.time()
            train_results = self._train_model.run_epoch_generator(sess, self._train_model,
                                                                  self._data["train_loader"].get_iterator(),

After Change


            self._epoch = epoch + 1
        else:
            sess.run(tf.global_variables_initializer())
        self._logger.info("Start training ...")

        while self._epoch <= epochs:
            // Learning rate schedule.
            new_lr = max(min_learning_rate, base_lr * (lr_decay_ratio ** np.sum(self._epoch >= np.array(steps))))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: liyaguang/DCRNN
Commit Name: 5dc36fed7cb3e31a3f44b99ddd6d870840c885ce
Time: 2018-09-30
Author: liyaguang0123@gmail.com
File Name: model/dcrnn_supervisor.py
Class Name: DCRNNSupervisor
Method Name: _train


Project Name: ilastik/ilastik
Commit Name: 96008235c70ebd1fed4f65cb17b0e99046f99396
Time: 2019-04-25
Author: c.pape@gmx.net
File Name: ilastik/workflows/carving/opPreprocessing.py
Class Name: OpSimpleBlockwiseWatershed
Method Name: execute


Project Name: tensorflow/tensorboard
Commit Name: fd1cdbfebb3ddedc6d96884995e8b4fd2bb292e3
Time: 2017-07-06
Author: jart@google.com
File Name: tensorboard/main.py
Class Name:
Method Name: run_simple_server


Project Name: ilastik/ilastik
Commit Name: c3683a34715651da553fda70ab50c1c0c2c63e41
Time: 2015-07-26
Author: bergs@janelia.hhmi.org
File Name: ilastik/workflows/pixelClassification/pixelClassificationWorkflow.py
Class Name: PixelClassificationWorkflow
Method Name: onProjectLoaded