a431344c78872f9f3d9802b741a9db2798dda3ca,tests/trainers/alternating_trainer_test.py,,,#,13

Before Change


from hypergan.trainers.alternating_trainer import AlternatingTrainer

config = {"d_learn_rate": 1e-3, "g_learn_rate": 1e-3, "d_trainer": "rmsprop", "g_trainer": "adam"}
gan = hg.GAN(config={"batch_size": 2, "dtype": tf.float32}, graph={})
trainer = AlternatingTrainer(gan, config)
class AlternatingTrainerTest(tf.test.TestCase):
    def test_config(self):
        with self.test_session():

After Change


from hypergan.trainers.alternating_trainer import AlternatingTrainer

config = {"d_learn_rate": 1e-3, "g_learn_rate": 1e-3, "d_trainer": "rmsprop", "g_trainer": "adam"}
gan = hg.GAN()
trainer = AlternatingTrainer(gan, config)
class AlternatingTrainerTest(tf.test.TestCase):
    def test_config(self):
        with self.test_session():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: a431344c78872f9f3d9802b741a9db2798dda3ca
Time: 2017-06-02
Author: martyn@255bits.com
File Name: tests/trainers/alternating_trainer_test.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: d39635219fd24d711c524a21e6d073ff5e6408c2
Time: 2017-06-02
Author: martyn@255bits.com
File Name: tests/discriminators/pyramid_discriminator_test.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: a431344c78872f9f3d9802b741a9db2798dda3ca
Time: 2017-06-02
Author: martyn@255bits.com
File Name: tests/trainers/alternating_trainer_test.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: a431344c78872f9f3d9802b741a9db2798dda3ca
Time: 2017-06-02
Author: martyn@255bits.com
File Name: tests/encoders/uniform_encoder_test.py
Class Name:
Method Name: