b8f005eebd686c3e16b3a3603f294db0013a569e,src/predict.py,,,#,47

Before Change


        K.set_session(ss)
        ss.run(K.tf.global_variables_initializer())

    pw = os.path.join(os.path.dirname(solver_json), solver["pw"])
    with open(filetxt, "r") as fin:
        basedir = os.path.dirname(filetxt)
        files = [os.path.join(basedir, line.rstrip("\n")) for line in fin]

After Change


if __name__ == "__main__":
    mode = "opencv"
    filetxt = sys.argv[1]  // txt with image filenames
    pw = sys.argv[2]  // pretrained weights
    out_directory = sys.argv[3]  // output directory
    // dw = 256
    // dh = 256
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: PavlosMelissinos/enet-keras
Commit Name: b8f005eebd686c3e16b3a3603f294db0013a569e
Time: 2017-04-07
Author: pmelissi@iti.gr
File Name: src/predict.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: ddfac3e42d2ae2e09751de6638d813c76e30ff94
Time: 2018-12-04
Author: mark.harfouche@gmail.com
File Name: tools/check_sdist.py
Class Name:
Method Name:


Project Name: PavlosMelissinos/enet-keras
Commit Name: b8f005eebd686c3e16b3a3603f294db0013a569e
Time: 2017-04-07
Author: pmelissi@iti.gr
File Name: src/predict.py
Class Name:
Method Name:


Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_test_evaluator.py
Class Name: TestEvaluator_Test
Method Name: test_datasets