76af726f4d58fd445496734a41e22ff36afe3657,dual_net.py,DualNetworkTrainer,train,#DualNetworkTrainer#Any#Any#Any#Any#,83

Before Change


                if logdir is not None:
                    training_stats.report(
                        tensor_values["policy_cost"],
                        tensor_values["value_cost"],
                        tensor_values["l2_cost"],
                        tensor_values["combined_cost"])
                    if i % 100 == 0 and logdir is not None:

After Change


            train_tensors = train_ops(
                input_tensors, output_tensors, **self.hparams)
            weight_summary_op = logging_ops()
            weight_tensors = tf.trainable_variables()
            self.initialize_weights(init_from)
            if logdir is not None:
                training_stats = StatisticsCollector()
                logger = tf.summary.FileWriter(logdir, self.sess.graph)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/minigo
Commit Name: 76af726f4d58fd445496734a41e22ff36afe3657
Time: 2018-02-06
Author: brian.kihoon.lee@gmail.com
File Name: dual_net.py
Class Name: DualNetworkTrainer
Method Name: train


Project Name: tensorflow/tpu
Commit Name: 9f66664f055e7943d157ba94b7bd5b0bc5b3d54e
Time: 2018-07-30
Author: brennan.saeta@gmail.com
File Name: models/experimental/deeplab/model.py
Class Name:
Method Name: loss_fn


Project Name: MaybeShewill-CV/lanenet-lane-detection
Commit Name: 472788a1ebc93aa18c844a3da1efb36cbda30bfa
Time: 2018-10-23
Author: luoyao@baidu.com
File Name: lanenet_model/lanenet_merge_model.py
Class Name:
Method Name: