bd6213492cec3cf7a28d1dc2e8631c3d7e7a55a9,train.py,,train,#,101

Before Change


        elif args.method == "scale":
            model_name = "anime_style_scale_%s" % args.color
        elif args.method == "noise_scale":
            model_name = ("anime_style_noise%d_scale_%s"
                          % (args.noise_level, args.color))
    else:
        model_name = args.model_name.rstrip(".npz")
    model_path = model_name + ".npz"
    if not os.path.exists("epoch"):

After Change


        elif args.method == "scale":
            model_name = "anime_style_scale_"
        elif args.method == "noise_scale":
            model_name = "anime_style_noise{}_scale_".format(args.noise_level)
    else:
        model_name = args.model_name.rstrip(".npz")
    model_path = model_name + "{}.npz".format(args.color)
    if not os.path.exists("epoch"):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 5

Instances


Project Name: tsurumeso/waifu2x-chainer
Commit Name: bd6213492cec3cf7a28d1dc2e8631c3d7e7a55a9
Time: 2018-06-20
Author: tsurumeso@gmail.com
File Name: train.py
Class Name:
Method Name: train


Project Name: deepmipt/DeepPavlov
Commit Name: 5e59fabd9c343c18af12ae0c6d3aa2c1f2afccb6
Time: 2018-01-26
Author: mary.vikhreva@gmail.com
File Name: deeppavlov/core/models/keras_model.py
Class Name: KerasModel
Method Name: load


Project Name: tensorlayer/tensorlayer
Commit Name: 2540be5e261e862e55f63086d23cbd409950f4c7
Time: 2019-01-16
Author: dhsig552@163.com
File Name: tensorlayer/layers/core.py
Class Name: Layer
Method Name: __str__


Project Name: tensorlayer/tensorlayer
Commit Name: 48ca51e099b5b492aba7b260f3895a97aca36e3a
Time: 2019-03-15
Author: 37874862+warshallrho@users.noreply.github.com
File Name: tensorlayer/layers/convolution/expert_deconv.py
Class Name: DeConv3dLayer
Method Name: __init__


Project Name: tsurumeso/waifu2x-chainer
Commit Name: bd6213492cec3cf7a28d1dc2e8631c3d7e7a55a9
Time: 2018-06-20
Author: tsurumeso@gmail.com
File Name: waifu2x.py
Class Name:
Method Name: load_models


Project Name: NTMC-Community/MatchZoo
Commit Name: 02918aa0ef762efafacc75ece4c166567ada3f84
Time: 2018-05-29
Author: pl8787@gmail.com
File Name: matchzoo/layers/DynamicMaxPooling.py
Class Name: DynamicMaxPooling
Method Name: call


Project Name: tensorlayer/tensorlayer
Commit Name: c37b9980372ebd1a1d1d8ee8fc58880ffc44779a
Time: 2019-01-18
Author: dhsig552@163.com
File Name: tensorlayer/layers/convolution/simplified_deconv.py
Class Name: DeConv2d
Method Name: __init__