d3b1f9f2417f86ecccfbc018990c44f29b976bbf,Generator/generator.py,,,#,12

Before Change



        // Debug
        // individual_list = [1]
        if len(individual_list) != 0:
            // Multiply individual.
            util.print_message(NOTE, "Multiply individual using Generative Adversarial Networks.")
            gan = GAN(template, obj_browser)
            gan.main()
        else:
            util.print_message(WARNING, "Genetic Algorithm cannot individual.")
            util.print_message(WARNING, "Skip process of Generative Adversarial Networks")

        // Close browser.
        obj_browser.close()

After Change


                                                               obj_browser.capabilities["version"]))
        else:
            util.print_message(FAIL, "Invalid browser driver : {}".format(browser))
            sys.exit(1)

        // Browser setting.
        obj_browser.set_window_size(window_width, window_height)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: d3b1f9f2417f86ecccfbc018990c44f29b976bbf
Time: 2018-09-10
Author: takaesu235@gmail.com
File Name: Generator/generator.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: cb38a31627f152c22fb9e474c31b34da588e1134
Time: 2020-07-26
Author: akkana@shallowsky.com
File Name: starstack.py
Class Name:
Method Name:


Project Name: Microsoft/MMdnn
Commit Name: fdeeaff5e452e257bf3a3dd76e25c81304cc4c98
Time: 2020-03-15
Author: linmajia@users.noreply.github.com
File Name: mmdnn/conversion/examples/tensorflow/vis_meta.py
Class Name:
Method Name: _main