16be55ed98340f9494b2eadb565dc18d6cf47d9c,hypergan/cli.py,CLI,__init__,#CLI#Any#Any#,23

Before Change


            args = args
        self.args = args
        width = int(self.args.size.split("x")[0])
        height = int(self.args.size.split("x")[1])
        channels = int(self.args.size.split("x")[2])

        if "config" in args:
            config = args.config

After Change


        else:
            args = args
        self.args = args
        if "size" in self.args:
            size = [int(x) for x in self.args.size.split("x")] + [None, None, None]
        else:
            size = [None, None, None]
        width = size[0] or 64
        height = size[1] or 64
        channels = size[2] or 3
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 16be55ed98340f9494b2eadb565dc18d6cf47d9c
Time: 2017-06-10
Author: martyn@255bits.com
File Name: hypergan/cli.py
Class Name: CLI
Method Name: __init__


Project Name: Netflix/vmaf
Commit Name: d050492c334f02120459b32d8645f7febf46aa7d
Time: 2018-12-19
Author: christosb@netflix.com
File Name: python/src/vmaf/core/quality_runner.py
Class Name: VmafossExecQualityRunner
Method Name: _get_quality_scores


Project Name: vatlab/SoS
Commit Name: 3239b81335c6a63e209ee9419f4efeea167e40bc
Time: 2019-08-05
Author: ben.bog@gmail.com
File Name: src/sos/workers.py
Class Name: WorkerManager
Method Name: __init__