9bd167b4a32ce12db4e2d546bff733e98542c5e7,tools/train_shadownet.py,,train_shadownet,#Any#Any#Any#Any#,65

Before Change


    os.makedirs(cfg.PATH.TBOARD_SAVE_DIR, exist_ok=True)
    tf.summary.scalar(name="Cost", tensor=cost)
    tf.summary.scalar(name="Learning_Rate", tensor=learning_rate)
    tf.summary.scalar(name="Seq_Dist", tensor=sequence_dist)
    merge_summary_op = tf.summary.merge_all()

    // Set saver configuration
    saver = tf.train.Saver()

After Change


    os.makedirs(cfg.PATH.TBOARD_SAVE_DIR, exist_ok=True)
    tf.summary.scalar(name="Cost", tensor=cost)
    tf.summary.scalar(name="Learning_Rate", tensor=learning_rate)
    if decode:
        tf.summary.scalar(name="Seq_Dist", tensor=sequence_dist)
    merge_summary_op = tf.summary.merge_all()

    // Set saver configuration
    saver = tf.train.Saver()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: MaybeShewill-CV/CRNN_Tensorflow
Commit Name: 9bd167b4a32ce12db4e2d546bff733e98542c5e7
Time: 2018-09-19
Author: debenito@unternehmertum.de
File Name: tools/train_shadownet.py
Class Name:
Method Name: train_shadownet


Project Name: wenwei202/iss-rnns
Commit Name: a909fb05f352255c75dec4f4110acab0573f0b64
Time: 2017-06-20
Author: weiwen.web@gmail.com
File Name: basic/model.py
Class Name: Model
Method Name: _build_sparsity


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: fd5c54dfd76d06569d615634526eb631aab1d05f
Time: 2018-05-02
Author: igor.a.gitman@gmail.com
File Name: open_seq2seq/optimizers/optimizers.py
Class Name:
Method Name: optimize_loss


Project Name: tensorflow/tensorboard
Commit Name: ba2ef0a2dac5881f37f81a55f17e18b7f9008416
Time: 2017-08-15
Author: wchargin@gmail.com
File Name: tensorboard/plugins/scalar/scalars_plugin_test.py
Class Name: ScalarsPluginTest
Method Name: generate_run


Project Name: galeone/dynamic-training-bench
Commit Name: f302eba7375d8da3477816a705c7ce628f9a55a8
Time: 2017-05-12
Author: nessuno@nerdz.eu
File Name: dytb/trainer/Trainer.py
Class Name: Trainer
Method Name: train


Project Name: uber/ludwig
Commit Name: cdab60e331b42dfbb77c143595d337e3e0e279a8
Time: 2020-02-01
Author: piero@uber.com
File Name: ludwig/features/timeseries_feature.py
Class Name: TimeseriesOutputFeature
Method Name: build_output