5835b5d552468f40bc953847857dc0a7d28f57d6,hypergan/cli.py,CLI,run,#CLI#,253

Before Change


    def run(self):
        args = self.args

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

        if "crop" in args:
            crop = args.crop
        else:
            crop = None

After Change


            self.new()
        //TODO
        tf.reset_default_graph()
        self.gan.session.close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 5835b5d552468f40bc953847857dc0a7d28f57d6
Time: 2017-06-08
Author: martyn@255bits.com
File Name: hypergan/cli.py
Class Name: CLI
Method Name: run


Project Name: deepfakes/faceswap
Commit Name: acc6553f80d17469bedfdcdab2ea676478a49d9d
Time: 2019-07-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/effmpeg.py
Class Name: Effmpeg
Method Name: get_fps


Project Name: bokeh/bokeh
Commit Name: 8d4e6b68a803661fa2dcbb1d3de9c83a8c59c21c
Time: 2016-12-08
Author: pitrou@free.fr
File Name: bokeh/server/server.py
Class Name: Server
Method Name: __init__