56c0e5992ac69ee40efb4afc00ce0436cc2055b3,hypergan/gans/ali_gan.py,AliGAN,create,#AliGAN#,46

Before Change


                "sample": [tf.add_n(d_losses), tf.add_n(g_losses)], 
                "metrics": self.gan.metrics
            })
            print(standard_loss.metrics)
            for k,v in standard_loss.metrics.items():
                loss.metrics[k]=v
            self.loss = loss
            self.metrics = self.loss.metrics

After Change


                d_losses=[l2_loss]

            for i,l in enumerate(g_losses):
                self.add_metric("gl"+str(i), l)
            for i,l in enumerate(d_losses):
                self.add_metric("dl"+str(i),l)
            loss = hc.Config({
                "d_fake":standard_loss.d_fake,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 56c0e5992ac69ee40efb4afc00ce0436cc2055b3
Time: 2018-10-19
Author: mikkel@255bits.com
File Name: hypergan/gans/ali_gan.py
Class Name: AliGAN
Method Name: create


Project Name: HyperGAN/HyperGAN
Commit Name: da4fd8b5f0979b72e7ba1091e159f92e16b95452
Time: 2018-10-14
Author: mikkel@255bits.com
File Name: hypergan/gans/ali_gan_combined.py
Class Name: AliGANCombined
Method Name: create


Project Name: HyperGAN/HyperGAN
Commit Name: 38fb9b7195da37075cd2767a7f5c259b9c6bd037
Time: 2018-11-04
Author: mikkel@255bits.com
File Name: hypergan/train_hooks/memory_train_hook.py
Class Name: MemoryTrainHook
Method Name: __init__