6ba8779d5184a617e7ab8ade1b01f470a2af18a4,models/config.py,,,#,4

Before Change


////////////////////////////////////////////////////////
flags.DEFINE_string("dataset", "mnist", "The name of dataset [smallNORB, mnist, fashion-mnist]")
flags.DEFINE_boolean("is_training", True, "train or predict phase")
flags.DEFINE_integer("num_threads", 8, "number of threads of enqueueing exampls")
results = os.path.join("models", "results")
logdir = os.path.join(results, "logdir")
flags.DEFINE_string("results", results, "path for saving results")
flags.DEFINE_string("logdir", logdir, "logs directory")

After Change



// for training
flags.DEFINE_integer("batch_size", 128, "batch size")
flags.DEFINE_integer("num_steps", 50000, "The number of training steps, default: 50,000")
flags.DEFINE_integer("iter_routing", 3, "number of iterations in routing algorithm")
flags.DEFINE_integer("train_sum_every", 200, "the frequency of saving train summary(step)")
flags.DEFINE_integer("val_sum_every", 500, "the frequency of saving valuation summary(step)")
flags.DEFINE_integer("save_ckpt_every", 1000, "the frequency of saving model(step)")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 2

Instances


Project Name: naturomics/CapsLayer
Commit Name: 6ba8779d5184a617e7ab8ade1b01f470a2af18a4
Time: 2018-07-26
Author: naturomics.liao@gmail.com
File Name: models/config.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name:


Project Name: brightmart/text_classification
Commit Name: fb284d1528d702a3f9015125c4449c253bc94096
Time: 2018-11-20
Author: brightmart@hotmail.com
File Name: a00_Bert/train_bert_multi-label.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 1a373808860406660c084f5fab1bada9c17e7091
Time: 2017-10-11
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 162d1274eae03e2d4298f0e8e8c0604b01009cf8
Time: 2017-08-28
Author: frankchn@google.com
File Name: cloud_tpu/models/resnet/estimator_resnet.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 1a373808860406660c084f5fab1bada9c17e7091
Time: 2017-10-11
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name:


Project Name: brightmart/text_classification
Commit Name: 9593d1e63672fb3e522b7629d32819bc8863eb83
Time: 2018-04-16
Author: test@testdeMacBook-Pro.local
File Name: a02_TextCNN/p7_TextCNN_train.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name:


Project Name: wenwei202/iss-rnns
Commit Name: 0acf9904b9f87ad3890d87bbaa2a294a1ab7d4ac
Time: 2016-11-27
Author: seominjoon@gmail.com
File Name: basic/cli.py
Class Name:
Method Name:


Project Name: brightmart/text_classification
Commit Name: 361cc3e3d9b1c807d8b6eb4cc18dd9878171d312
Time: 2018-11-18
Author: brightmart@hotmail.com
File Name: a01_FastText/p6_fastTextB_train_multilabel.py
Class Name:
Method Name:


Project Name: tensorflow/models
Commit Name: f2ea2f537967af92fd47eeeb91b0e312aedaddad
Time: 2019-05-24
Author: tobyboyd@google.com
File Name: official/transformer/v2/misc.py
Class Name:
Method Name: define_transformer_flags


Project Name: tensorflow/tpu
Commit Name: c1db25d9281a9374005d5c8b4e183b8e6d7d2ace
Time: 2017-09-06
Author: frankchn@google.com
File Name: cloud_tpu/models/inception_v3/inception_v3.py
Class Name:
Method Name: