7c57e6f2de0795edef5aed8cbcebb1243ba86191,lib/reconstruct.py,,image_tta,#Any#Any#Any#Any#Any#,93

Before Change


        dst = np.clip(dst, 0, 1) * 255
        dst[:, :, 1:] = cbcr
        dst = dst.astype(np.uint8)
        dst = Image.fromarray(dst, mode="YCbCr").convert("RGB")
    elif model.ch == 3:
        for i, (pat, inv) in enumerate(patterns):
            six.print_(i, end=" ", flush=True)

After Change


        dst = np.clip(dst, 0, 1) * 255
        dst[:, :, 1:] = cbcr
        dst = dst.astype(np.uint8)
        dst = Image.fromarray(dst, mode="YCbCr")
        if y2rgb:
            dst = dst.split()[0]
        else:
            dst = dst.convert("RGB")
    elif model.ch == 3:
        y2rgb = src.mode == "L"
        if y2rgb:
            src = iproc.y2rgb(src)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: tsurumeso/waifu2x-chainer
Commit Name: 7c57e6f2de0795edef5aed8cbcebb1243ba86191
Time: 2018-02-23
Author: nstm101339@gmail.com
File Name: lib/reconstruct.py
Class Name:
Method Name: image_tta


Project Name: NifTK/NiftyNet
Commit Name: 90a28005e448fa1240ca0c0c77c690e47fc1a5be
Time: 2017-07-06
Author: eli.gibson@gmail.com
File Name: engine/logging.py
Class Name:
Method Name: image3_animatedGIF


Project Name: chainer/chainercv
Commit Name: fbbfa4a2123ce41969230d531000b5836f1ab399
Time: 2017-08-07
Author: Hakuyume@users.noreply.github.com
File Name: chainercv/utils/image.py
Class Name:
Method Name: write_image


Project Name: tsurumeso/waifu2x-chainer
Commit Name: 7c57e6f2de0795edef5aed8cbcebb1243ba86191
Time: 2018-02-23
Author: nstm101339@gmail.com
File Name: lib/reconstruct.py
Class Name:
Method Name: image