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

Before Change


        sys.stdout.flush()
        if os.path.isfile(out_file):
            continue
        pred = predict(segmenter, imfile, target_shape=(dw, dh))
        res = cv2.imwrite(out_file, pred)
    print("")

After Change


        if mode == "pillow":
            pred_final = predict_pillow(segmenter, imfile, h=dh, w=dw)
            // pred_final.save(out_file)
        elif mode == "opencv":
            pred_final = predict_opencv(segmenter, imfile, h=dh, w=dw)
            // res = cv2.imwrite(out_file, pred_final)
        elif mode == "skimage":
            pred_final = predict_skimage(segmenter, imfile, h=dh, w=dw)
            // res = io.imsave(out_file, pred_final)
        // break

    print("")
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: tgsmith61591/pmdarima
Commit Name: e7d58577095d95ee014e32c298ea0d53572ff56c
Time: 2018-08-09
Author: tgsmith61591@gmail.com
File Name: pyramid/arima/arima.py
Class Name: ARIMA
Method Name: fit


Project Name: ufal/npfl114
Commit Name: 65869e202012462ad86ccd71e841bdf3f406e685
Time: 2019-03-20
Author: milan@strakovi.com
File Name: labs/02/gym_cartpole_evaluate.py
Class Name:
Method Name: